Jump to content

iMr.3a[Z]eF

Members
  • Posts

    862
  • Joined

  • Last visited

Everything posted by iMr.3a[Z]eF

  1. and what is theVehicle? theVehicle & cLP Aren't defined
  2. https://community.multitheftauto.com/index.php?p= ... ls&id=5832
  3. do you want to shot a Weapon by bindKey?
  4. No, onVehicleStartEnter
  5. i don't play Fallout 3 and STALKER. So can you give me a pics to understand what kind of radiation zone?
  6. As i always says use this resource GUIEditor
  7. The size argument is 1.50 Change it to bigger or smaller dxDrawText ( "" .. weaponclip .. "/" .. weaponammo, screenX*0.107, screenY*0.169, screenX*0.977, screenY*0.987, tocolor ( 255, 255, 255, 255 ), 1.50, "arial", "right" ) Change it to whatever you want. Or use GUIEditor
  8. where is the ColShape And here if vehicle or not vehicle then do you want to check if is the player inside the vehicle?
  9. local marker = createMarker ( 1545, -1669.6999511719, 12.60000038147, "cylinder", 1, 255, 255, 0, 165 ) function createTeamsOnStart () teamALSPD = createTeam ( "Los Santos Police Department", 0, 255, 0 ) end addEventHandler("onResourceStart", resourceRoot, createTeamsOnStart) function omh ( source ) setPlayerTeam ( source, teamALSPD ) giveWeapon( source, 31, 1000 ) -- set id and ammo 1 time end addEventHandler("onMarkerHit", marker, omh)
  10. replace return removeColorCoding (getPlayerName ( player ))
  11. local marker = createMarker ( 1545, -1669.6999511719, 12.60000038147, "cylinder", 1, 255, 255, 0, 165 ) function createTeamsOnStart () teamALSPD = createTeam ( "Los Santos Police Department", 0, 255, 0 ) end addEventHandler("onResourceStart", resourceRoot, createTeamsOnStart) function omh ( hS ) setPlayerTeam ( hS, teamALSPD ) giveWeapon( hs, id, ammo ) -- set id and ammo giveWeapon( hs, id, ammo ) -- set id and ammo end addEventHandler("onMarkerHit", marker, omh) you can get id from https://wiki.multitheftauto.com/wiki/Weapon Why giving weapon twice?
  12. Did you copied the line 83?
  13. Client Side #! local marker = createMarker ( 1545, -1669.6999511719, 12.60000038147, "cylinder", 1, 255, 255, 0, 165 ) function createTeamsOnStart () local teamALSPD = createTeam ( "Los Santos Police Department", 0, 255, 0 ) end addEventHandler("onClientResourceStart", resourceRoot, createTeamsOnStart) addEventHandler("onClientMarkerHit", marker function onMarkerHit(player) if not isPedInVehicle(player) then if getElementType(player) == "player" then setPlayerTeam ( player, teamALSPD) end end end )
  14. Find one https://community.multitheftauto.com/
  15. Why don't you use the resource? Because it's hard to made.
  16. be sure the its client and be sure that the sound file is with the LUA client i mean in the resource file change the sound volume to 1.0
  17. Is the outputChatBox type arabic? Why Don't you post this in arabic section?
  18. getWeaponAmmo new function i think
  19. He mean, in the picture the winner has left before 30 mins So, he won the map the winner became the player who quit the server before 30 mins
  20. Are you starting the bone_attach resource while you are using this exported function?
  21. createMarker "onMarkerHit" killPed destroyElement
×
×
  • Create New...