Jump to content

scratcher911

Members
  • Posts

    105
  • Joined

  • Last visited

Details

  • Gang
    Unknown

scratcher911's Achievements

Punk-@ss B*tch

Punk-@ss B*tch (12/54)

0

Reputation

  1. Entity Is right you don't need to have script type. You can only have like this
  2. function createLoginWindow should be: function createLoginWindow()
  3. change getResourceRootElement( ) to resourceRoot
  4. function damageProof( player, command ) if (isPedInVehicle(player)) then acc = getAccountName(getPlayerAccount(player)) if(isObjectInACLGroup("user."..acc,aclGetGroup("Admin")))then setVehicleDamageProof( getPlayerOccupiedVehicle(player), not isVehicleDamageProof(getPlayerOccupiedVehicle(player)) end end end addCommandHandler("damageproof", damageProof) didn't test it!
  5. I have a question. I saw that you can use while in lua but is it the same as that one in C++( I mean if it refresh in ever Frame Per Second )? Greets, ScratcheR
  6. Do you have the script in the same resource of gang system. You should use exports if you don't
  7. this is some combination of C++ and LUA ?
  8. createBlip ( 2412.4985351563, 1124.962890625, 0.8203125, 0,2,0,255,0, 255,0, 99999)
  9. images = {} for i, index in ipairs (getElementsByType("player")) do images[i] = guiCreateStaticImage(650,30 - 15 + 15 * i,18,16, rank, false, gImage["playerList"]) end function iFalse() for i = 1, getPlayerCount() do guiSetVisible(images[i], false) end end addEvent("iFalse", true) addEventHandler("iFalse", getRootElement(), iFalse) function getPlayerCount() return #getElementsByType("player") end
  10. removeWorldModel You can setElementPosition of the vehicle and player will stay inside I think.
  11. for i, playerName in ipairs (getElementsByType("player")) do images[i] = guiCreateStaticImage(650,30 - 15 + 15 * i,18,16, "rank/rank.png", false, gImage["playerList"]) end function iFalse() for i = 1, getPlayerCount() do guiSetVisible(images[i], false) end end addCommandHandler("test", iFalse) local players = 0 function getPlayerCount() for i, playerName in ipairs (getElementsByType("player")) do players = players + 1 end return players setTimer( function() players = 0 end , 100, 1 ) end You mean this ?
  12. but when you type test witch image of 3 you wanna stay open ?
×
×
  • Create New...