Jump to content

isa_Khamdan

Members
  • Posts

    484
  • Joined

  • Last visited

Everything posted by isa_Khamdan

  1. Thanks alot
  2. anyone knows how?
  3. Thanks a lot it works great but how can I choose the car? cuz I don't want it to change the colors randomly in every car that the selected player drive
  4. no one knows how?
  5. Hmm I am wondering if I can make the car color change every 0.5 second for a selected player serial . anyway this code works but for all cars how can I bind it for a player serial? function randomVehColors() for i, car in ipairs( getElementsByType( "vehicle" ) ) do local color = {} color[1] = math.random(0,126) color[2] = math.random(0,126) color[3] = math.random(0,126) color[4] = math.random(0,126) setVehicleColor ( car, color[1], color[2], color[3], color[4] ) end end setTimer( randomVehColors, 500, 0 )
  6. I didn't understand what's inside the site
  7. How can I block opening Freeroam inside a safe area like disabling it or just blocking the F1 key?
  8. Close the thread we are done , Thanks
  9. anyway do you remember me? My name is Nexus on 7bayab server we have met there
  10. any time and thanks to you too
  11. Thanks to everyone who helped me , It's working well now and thanks to IFahad <3
  12. Testing now.
  13. I changed it before uploading it , forgot to change it before posting
  14. no I just edited the team name and the position client.lua local theMarker = createMarker ( 2289.99, 581.85, 10.2, 'cylinder', 2.0, 255, 0, 0, 150 ) addEventHandler('onClientMarkerHit',theMarker, function ( hit ) if hit = localPlayer then if getPlayerTeam ( hit ) and not isPedInVehicle ( hit ) then if getTeamName ( getPlayerTeam ( hit ) ) == 'Team1' then setElementPosition( hit , 2250.1647949219, 586.35363769531, 66562461853 ) outputChatBox ( 'SET POS DONE!' ) end end end end,false )
  15. still not working , this time even the marker didn't shows up
  16. it's same one I posted
  17. Testing now.
  18. nothings about this script just freeroam GUI errors lol
  19. Still not working , I know how to fit the Marker on the ground and that's not the problem. the problem is that when I enter the marker while I am in the selected team it don't change my position ( teleport me )
  20. the marker have a bug try this: -- #! Server Side Marker = createMarker ( -2596.625, 579.358, 15.626 - 1, 'cylinder', 2.0, 255, 0, 0, 150 ) function setPosition(player) local PlayerTeam = getPlayerTeam ( player ) local TeamN = getTeamFromName ( "TeamName" ) if isElementWithinMarker ( player, Marker ) then if PlayerTeam == TeamN then setElementPosition ( player, 2287.78320, 607.99255, 10.82031 ) end end end addEventHandler("onMarkerHit",Marker, setPosition) I will test it now
  21. Yes I am sure that I am in the right team , Also I used the command and there are no errors.
  22. Where can I find debugscript?
  23. I tested it , The marker shows up but it doesn't change your position even if you are in the right team
  24. Thanks a lot
×
×
  • Create New...