iMr.3a[Z]eF Posted July 8, 2013 Share Posted July 8, 2013 I will test it now dont forget to change "yourTeam" to the team you want and dont forget to be in the team Link to comment
isa_Khamdan Posted July 8, 2013 Author Share Posted July 8, 2013 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 ) Link to comment
iMr.3a[Z]eF Posted July 8, 2013 Share Posted July 8, 2013 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 ) So what's the debug says? Link to comment
iPrestege Posted July 8, 2013 Share Posted July 8, 2013 local theMarker = createMarker ( -2596.625, 579.358, 15.626, '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 , 2287.78320,607.99255,10.82031 ) outputChatBox ( 'SET POS DONE!' ) end end end end,false ) Please make sure you're in team called 'Team1' Please! IT'S CLIENT SIDE. Link to comment
isa_Khamdan Posted July 8, 2013 Author Share Posted July 8, 2013 nothings about this script just freeroam GUI errors lol Link to comment
iPrestege Posted July 8, 2013 Share Posted July 8, 2013 Try my one and tell me it's client if doesn't work post meta file? Link to comment
iMr.3a[Z]eF Posted July 8, 2013 Share Posted July 8, 2013 Try iFahad's code If didnt works too capture the screen of the tap Panel that i sure you are in the team. Link to comment
isa_Khamdan Posted July 8, 2013 Author Share Posted July 8, 2013 local theMarker = createMarker ( -2596.625, 579.358, 15.626, '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 , 2287.78320,607.99255,10.82031 ) outputChatBox ( 'SET POS DONE!' ) end end end end,false ) Please make sure you're in team called 'Team1' Please! IT'S CLIENT SIDE. Testing now. Link to comment
isa_Khamdan Posted July 8, 2013 Author Share Posted July 8, 2013 Try my one and tell me it's client if doesn't work post meta file? Link to comment
iMr.3a[Z]eF Posted July 8, 2013 Share Posted July 8, 2013 he said its client edit the meta to this Link to comment
isa_Khamdan Posted July 8, 2013 Author Share Posted July 8, 2013 it's same one I posted Link to comment
iMr.3a[Z]eF Posted July 8, 2013 Share Posted July 8, 2013 You just edited it. So, what's the problem Fahad i think the problem is from him. Link to comment
iMr.3a[Z]eF Posted July 8, 2013 Share Posted July 8, 2013 isa did you added some codes in client.lua? Link to comment
isa_Khamdan Posted July 8, 2013 Author Share Posted July 8, 2013 still not working , this time even the marker didn't shows up Link to comment
iMr.3a[Z]eF Posted July 8, 2013 Share Posted July 8, 2013 (edited) answer my question did you added some codes in client.lua? because maybe that why it didnt set position Edited July 8, 2013 by Guest Link to comment
isa_Khamdan Posted July 8, 2013 Author Share Posted July 8, 2013 answer my questiondid you added some codes in client.lua? 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 ) Link to comment
iMr.3a[Z]eF Posted July 8, 2013 Share Posted July 8, 2013 answer my questiondid you added some codes in client.lua? 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 ) The team name didnt changed -.- Link to comment
isa_Khamdan Posted July 8, 2013 Author Share Posted July 8, 2013 I changed it before uploading it , forgot to change it before posting Link to comment
iPrestege Posted July 8, 2013 Share Posted July 8, 2013 FUCK Sorry i forget something try : local theMarker = createMarker ( -2596.625, 579.358, 15.626, '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 , 2287.78320,607.99255,10.82031 ) outputChatBox ( 'SET POS DONE!' ) end end end end,false ) Link to comment
iMr.3a[Z]eF Posted July 8, 2013 Share Posted July 8, 2013 I changed it before uploading it , forgot to change it before posting What's your version? Link to comment
isa_Khamdan Posted July 8, 2013 Author Share Posted July 8, 2013 Sorry i forget something try : local theMarker = createMarker ( -2596.625, 579.358, 15.626, '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 , 2287.78320,607.99255,10.82031 ) outputChatBox ( 'SET POS DONE!' ) end end end end,false ) Testing now. Link to comment
isa_Khamdan Posted July 8, 2013 Author Share Posted July 8, 2013 (edited) Thanks to everyone who helped me , It's working well now and thanks to IFahad <3 Edited July 8, 2013 by Guest Link to comment
iMr.3a[Z]eF Posted July 8, 2013 Share Posted July 8, 2013 Thanks a lot everyone who helped me , It's working well now and thanks to IFahad <3 any time Link to comment
Recommended Posts