Jump to content

scratcher911

Members
  • Posts

    105
  • Joined

  • Last visited

Everything posted by scratcher911

  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 ?
  13. I can make some resources for community and you can see my work. OK ?
  14. Hi, I need some money to buy the host for the my future server, so I decided to script for money. I'm scripting for money for the first time now. I have lot of experience scripting LUA. Price depends on the difficulty of script. If you need more information please feel free to ask. You can also donate me: Contact: Skype: scratcher911 Or pm me here. Greets, Scratcher
  15. You must edit the voice resource. ( witch is originally in server )
  16. what tab panel ? You mean scoreboard ?
  17. http://community.multitheftauto.com/index.php?p=resources&s=details&id=4871 maybe this? or you mean how to make your own¨?
  18. Nope. Anyway I mean like SAUR and CIT
  19. 1 question more. What is the interior and position of bank witch uses it most of the servers?
×
×
  • Create New...