Jump to content

Search the Community

Showing results for tags 'clothes'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Member Title


Gang


Location


Occupation


Interests

Found 6 results

  1. Queria saber como faço para colocar roupas em uma skin que não seja o CJ. Uma skin customizável.
  2. side

    (HELP) Marker Clothes

    Hello, excuse me, I have a question, how can I make the cj clothing store panel appear through a bookmark? and not by command, I appreciate your help! ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ root = getRootElement () outputChatBox ( "Tienda Cj Iniciada " ) function activateMenu ( player, key ) if (mainWindow) then guiSetVisible ( mainWindow, true ) else mainWindow = guiCreateWindow ( 0.01, 0.17, 0.3, 0.6, "CJ Customization - Enter Numbers & Apply", true ) guiCreateLabel(0.03, 0.045, 0.94, 0.5, " Shirt:", true, mainWindow) guiCreateLabel(0.03, 0.09, 0.94, 0.5, " Hair:", true, mainWindow) guiCreateLabel(0.03, 0.135, 0.94, 0.5, " Pants:", true, mainWindow) guiCreateLabel(0.03, 0.18, 0.94, 0.5, " Shoes:", true, mainWindow) guiCreateLabel(0.03, 0.225, 0.94, 0.5, " Hat:", true, mainWindow) guiCreateLabel(0.03, 0.27, 0.94, 0.5, " Glasses:", true, mainWindow) guiCreateLabel(0.03, 0.315, 0.94, 0.5, " Necklace:", true, mainWindow) guiCreateLabel(0.03, 0.36, 0.94, 0.5, " Watch:", true, mainWindow) guiCreateLabel(0.03, 0.405, 0.94, 0.5, " Tattoos Left Chest:", true, mainWindow) guiCreateLabel(0.03, 0.45, 0.94, 0.5, " Tattoos Right Chest:", true, mainWindow) guiCreateLabel(0.03, 0.495, 0.94, 0.5, " Tattoos Stomach:", true, mainWindow) guiCreateLabel(0.03, 0.54, 0.94, 0.5, " Tattoos Back:", true, mainWindow) guiCreateLabel(0.03, 0.585, 0.94, 0.5, " Tattoos Lower Back:", true, mainWindow) guiCreateLabel(0.03, 0.63, 0.94, 0.5, " Tattoos Left Upper Arm:", true, mainWindow) guiCreateLabel(0.03, 0.675, 0.94, 0.5, " Tattoos Left Lower Arm:", true, mainWindow) guiCreateLabel(0.03, 0.72, 0.94, 0.5, "Tattoos Right Upper Arm:", true, mainWindow) guiCreateLabel(0.03, 0.765, 0.94, 0.5, "Tattoos Right Lower Arm:", true, mainWindow) guiCreateLabel(0.03, 0.81, 0.94, 0.5, " \"Extra\" CJ Skins:", true, mainWindow) guiCreateLabel(0.03, 0.855, 0.94, 0.5, " Fat Stat:", true, mainWindow) guiCreateLabel(0.03, 0.9, 0.94, 0.5, " Muscle Stat:", true, mainWindow) editA = guiCreateEdit( 0.5, 0.045, 0.2, 0.045, "", true, mainWindow ) editB = guiCreateEdit( 0.5, 0.09, 0.2, 0.045, "", true, mainWindow ) editC = guiCreateEdit( 0.5, 0.135, 0.2, 0.045, "", true, mainWindow ) editD = guiCreateEdit( 0.5, 0.18, 0.2, 0.045, "", true, mainWindow ) editQ = guiCreateEdit( 0.5, 0.225, 0.2, 0.045, "", true, mainWindow ) editP = guiCreateEdit( 0.5, 0.27, 0.2, 0.045, "", true, mainWindow ) editN = guiCreateEdit( 0.5, 0.315, 0.2, 0.045, "", true, mainWindow ) editO = guiCreateEdit( 0.5, 0.36, 0.2, 0.045, "", true, mainWindow ) editJ = guiCreateEdit( 0.5, 0.405, 0.2, 0.045, "", true, mainWindow ) editK = guiCreateEdit( 0.5, 0.45, 0.2, 0.045, "", true, mainWindow ) editL = guiCreateEdit( 0.5, 0.495, 0.2, 0.045, "", true, mainWindow ) editI = guiCreateEdit( 0.5, 0.54, 0.2, 0.045, "", true, mainWindow ) editM = guiCreateEdit( 0.5, 0.585, 0.2, 0.045, "", true, mainWindow ) editE = guiCreateEdit( 0.5, 0.63, 0.2, 0.045, "", true, mainWindow ) editF = guiCreateEdit( 0.5, 0.675, 0.2, 0.045, "", true, mainWindow ) editG = guiCreateEdit( 0.5, 0.72, 0.2, 0.045, "", true, mainWindow ) editH = guiCreateEdit( 0.5, 0.765, 0.2, 0.045, "", true, mainWindow ) editR = guiCreateEdit( 0.5, 0.81, 0.2, 0.045, "", true, mainWindow ) editS = guiCreateEdit( 0.5, 0.855, 0.2, 0.045, "", true, mainWindow ) editT = guiCreateEdit( 0.5, 0.9, 0.2, 0.045, "", true, mainWindow ) applyButton = guiCreateButton( 0.8, 0.1, 0.2, 0.3, "Apply", true, mainWindow ) exitButton = guiCreateButton( 0.8, 0.5, 0.2, 0.3, "Exit", true, mainWindow ) end showCursor ( true ) end addCommandHandler ( "c", activateMenu ) function clickedButtonCheck ( element ) if source == applyButton then incredibleTable = { --the order is mixed because i sorted GUI menu better than type listings in code [0] = { storedValue = guiGetText ( editA ) }, [1] = { storedValue = guiGetText ( editB ) }, [2] = { storedValue = guiGetText ( editC ) }, [3] = { storedValue = guiGetText ( editD ) }, [4] = { storedValue = guiGetText ( editE ) }, [5] = { storedValue = guiGetText ( editF ) }, [6] = { storedValue = guiGetText ( editG ) }, [7] = { storedValue = guiGetText ( editH ) }, [8] = { storedValue = guiGetText ( editI ) }, [9] = { storedValue = guiGetText ( editJ ) }, [10] = { storedValue = guiGetText ( editK ) }, [11] = { storedValue = guiGetText ( editL ) }, [12] = { storedValue = guiGetText ( editM ) }, [13] = { storedValue = guiGetText ( editN ) }, [14] = { storedValue = guiGetText ( editO ) }, [15] = { storedValue = guiGetText ( editP ) }, [16] = { storedValue = guiGetText ( editQ ) }, [17] = { storedValue = guiGetText ( editR ) }, [18] = { storedValue = guiGetText ( editS ) --Fat Stat }, [19] = { storedValue = guiGetText ( editT ) --Muscle Stat } } triggerServerEvent ( "applyClothes", getLocalPlayer (), incredibleTable ) elseif source == exitButton then guiSetVisible ( mainWindow, false ) showCursor ( false ) end end addEventHandler ( "onClientGUIClick", root, clickedButtonCheck )
  3. hey guys i've made CJ Custom Clothes and it's working but there's a problem when a player reconnect or resource restart it back to original clothes i want save it any help ? screenshot : https://imgur.com/a/iBAzGog
  4. Clipper_

    Santa Hat

    For Christmas I want to create a script which adds a Santa Hat on the head of the local player by a command. During the development, I had 2 ideas: 1. Replacing the model of an existing Hat cloth is impossible and leads to a game crash. MTA seem to not have support for clothes ID, only for texture replacement. 2. Positioning another small object (with replaced texture and model) on top of the player's head is another solution. Here, the problem is the position where the hat should be placed: getting the coordonates of the highest "bone" of the ped with getPedBonePosition leads to small changes through the vales, so the hat is not moving with the head like it should behave. If you have a solution for getting the position of any body part (in this case the head), it will be a big help I will comment with the code if needed.
  5. Hello, I'm trying to modify the original clothes of the game but when I get it, the game closes does anyone know how to solve it?
  6. This error always happens when someone login. WARNING: savesystem\server.lua:56: Expected number, got non-convertible string. This warning may be an error in future versions. [DUP x3] ---------------------------------------------------------------------------------------------------- --- TABLES --- ---------------------------------------------------------------------------------------------------- local antiSpamSave = { } local setting = { } ---------------------------------------------------------------------------------------------------- --- SETTINGS --- ---------------------------------------------------------------------------------------------------- -- Save Data Setting setting.position = not get("position") == "false" and toJSON(split(get("position"), ", ")) or false setting.rotation = tonumber(get("rotation")) or false setting.interior = tonumber(get("interior")) or false setting.dimension = tonumber(get("dimension")) or false setting.team = tostring(get("team")) or false setting.skin = tonumber(get("skin")) or false --setting.data = not get("elementData") == "false" and split(get("elementData"), ", ") or false -- Other Setting setting.loadOnStartResource = not get("loadOnStartResource") == "false" and true or false setting.saveCommand = not get("saveCommand") == "false" and true or false setting.saveTime = tonumber(get("rotation")) or false ---------------------------------------------------------------------------------------------------- --- CUSTOM EVENTS --- ---------------------------------------------------------------------------------------------------- addEvent("onAccountLoadData", true) addEventHandler("onAccountLoadData", root, function (account) local position = getAccountData(account, "position") or setting.position local rot = getAccountData(account, "rotation") or setting.rotation local int = getAccountData(account, "interior") or setting.interior local dim = getAccountData(account, "dimension") or setting.dimension local teamName = getAccountData(account, "team") or setting.team local skin = getAccountData(account, "skin") or setting.skin local health = getAccountData(account, "health") local armor = getAccountData(account, "armor") local money = getAccountData(account, "money") local wanted = getAccountData(account, "wantedlevel") local clothes = getAccountData(account, "clothes") local stats = getAccountData(account, "stats") local weapons = getAccountData(account, "weapons") --local datas = getAccountData(account, "datas") local x, y, z = unpack(fromJSON(position) or {nil}) local team = teamName and getTeamFromName(teamName) or nil if position then spawnPlayer(source, x, y, z, rot, skin, int, dim, team) end if health then setElementHealth(source, health) end if armor then setPedArmor(source, armor) end if money then setPlayerMoney(source, money) end if wanted then setPlayerWantedLevel(source, wanted) end if (clothes) then removeAllPedClothes(source) for _, clothes in pairs(fromJSON(clothes)) do local type, texture, model = unpack(clothes) addPedClothes(source, type, texture, model) end end if (stats) then for stat, value in pairs(fromJSON(stats)) do setPedStat(source, stat, value) end end if (weapons) and not (isPedDead(source)) then takeAllWeapons(source) for weapon, ammo in pairs(fromJSON(weapons)) do giveWeapon(source, weapon, ammo, true) end end ... ... ...
×
×
  • Create New...