Jump to content

xXGhostXx

Members
  • Posts

    257
  • Joined

  • Last visited

Everything posted by xXGhostXx

  1. What your email address ? I send movie for exapmle script !
  2. Not work You want to capture a movie from a script example
  3. Please answer me ! @Knuck @N3xT @Dimos7
  4. i dont know do you have skype ?
  5. Dont have error ! Script for what ? Not work !
  6. Ok ! When nobody is in the car not damaged When someone is in the car damage on
  7. Hi guys I have problem in element data functions This code for police department vehicle faction local policeVehicles = { {597, 1531.6806640625, -1668.15234375, 13.3828125}, } local police = "Police" addEventHandler("onResourceStart",resourceRoot,function() for _, v in ipairs(policeVehicles) do local veh = createVehicle(v[1],v[2],v[3],v[4],0,0,v[5]) setElementData(veh,"carFaction",police) end end) function vh ( player, seat ) if seat == 0 then if getElementData(source,"carFaction") == police then if getElementData(player,"faction") ~= police then cancelEvent() outputChatBox ( "#ffff00your are not in police department faction", player,240,155,15,true) end end end end addEventHandler ( "onVehicleStartEnter", getRootElement(), vh ) but i set element data police cant enter vehicle function pd(thePlayer) setElementData(thePlayer,"Police") end addCommandHandler("police",pd) Please answer me.
  8. Not work ! I want on player vehicle enter damage proof active Seat and player not inside car vehicle damage proof off
  9. How to fix vehicle damage proof ? local vehicles = getElementsByType("vehicle") for _,vehicle in pairs(vehicles) do setVehicleDamageProof(vehicle,true) end function onDamageProof(vehicle,seat,jacked) setVehicleDamageProof(vehicle,false) end addEventHandler("onPlayerVehicleEnter",root,onDamageProof) Player when not inside the car vehicle not damage Player enter vehicle Damage on
  10. You can make dealer ship for me ?
  11. Set element position No ! i want spawn player
  12. Not work ! like: /call110 Player killed by player can give wanted level 1 for 1 minute !
  13. This code fixed ! But spawn vehicle model 411 from admin cant enter vehicle !
  14. i need sql files and resource sql
  15. Not Work ! function respawnPlayer ( thePlayer, cmd, id ) if not ( isPlayerOnGroup ( thePlayer ) ) then outputChatBox("#ff0000[Error]: #ffffffShoma Dastresi Be In Dastoor Nadarid!", thePlayer, 255, 255, 255, true) return false end if id == nil then outputChatBox("#00ff00Bezan: /respawn <PartOfName>", thePlayer, 255, 255, 255, true) return false end if not findPlayer(id) then outputChatBox("#ff0000[Error]: #ffffffPlayer Peyda Nashod!", thePlayer, 255, 255, 255, true) return false end local taraf = findPlayer(id) local aname = getPlayerName( thePlayer ) local esmesh = getPlayerName(taraf) spawnPlayer( taraf , 1286.17578125, -1329.16015625, 13.55211353302 , 90 , tonumber( getElementModel( getPlayerFromName( tostring( Name ) ) )) ) outputChatBox("#ff0000[Done]: #ffffffShoma "..esmesh.." Ra Respawn Kardid!", thePlayer ,255, 255, 255, true) for _, player in ipairs ( getElementsByType ( "player" ) ) do if ( isPlayerOnGroup ( player ) ) then outputChatBox ( "#ff0000[ADM-Warn]: #ffffff"..aname.." Player #FFA500"..esmesh.." #ffffffRa #FFA500Respawn #ffffffKard!", player,255,255,255,true ) end end outputChatBox("#ffffffShoma Tavasote "..aname.." Respawn Shodid!", taraf, 255, 255, 255, true) end addCommandHandler("respawn", respawnPlayer) This code for me
  16. i dont have sql ! i use account data
  17. Not Work @iMr.WiFi..! Please help me for not reseted skin !
  18. ACL Group Police can enter vehicle ! Other player can G in vehicle ! And spawn vehicle model by admin other player can enter
×
×
  • Create New...