Jump to content

SAWA

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by SAWA

  1. SAWA

    View skins in air

    ^^ i try to start code now at client side no error but the code doesnt work and i want view skins start from 0 and when prees arrow_r view skin 1 and when prees again 2 etc .. so +1 and when prees arrow_l -1 so if view skins number 1 and prees arrow_l then view 0 etc .. your code its take a random skins i make code but not worked so any one knows fix it
  2. SAWA

    View skins in air

    so how to fix the code !
  3. SAWA

    View skins in air

    Error 7:attempt to perform arithmetic on local "allSkins" { a table value } pls how know fix the code its clientside now
  4. SAWA

    View skins in air

    local allSkins = 0 addEventHandler ( "onPlayerJoin", root, function ( peds ) local allSkins = getValidPedModels ( ) bindKey ( player, "arrow_r", "down", peds ) allSkins = allSkins + 1 bindKey ( player, "arrow_l", "down", peds ) allSkins = allSkins -1 h = createPed ( 120, 2491.2412109375, -1675.3841552734, 30.133781433105 ) p = createObject ( 1337, 2491.2412109375, -1675.3841552734, 30.133781433105 ) setElementFrozen ( h, true ) setCameraMatrix ( 2492.833984375, -1666.5686035156, 22.295654296875 ) bindKey ( player, "enter", "down", peds ) setElementModel ( player, allSkins ) spawnPlayer ( player, -2417.2517089844, 602.68542480469, 132.5625 ) end) i make this code 6: Bad argument @ 'bindKey' 7: attempt to perform arithmetic on local 'allSkins ' a table value Any one Help me the code not worked
  5. SAWA

    View skins in air

    Thanks Can you explain why the use of CreateObject because I did not understand
  6. How i can make view all skins in server in air and player can choose the skins And when press the left or right arrow Change skins and when prees enter get the skins Who knows gives me the function
  7. i make grid list and two check box the fist check box for add iteam so i want to view all iteam have player and when player click double click on some iteam the iteam store and the first check box for take the iteam from store so player didnt get any money this is only for store iteam any one know function to make this help me
  8. i want to know function lua in need to make it i already make the grid list
  9. what function in neded to make a store gun of player in grid list and player can take or store her gun in grid list
×
×
  • Create New...