triplesnake Posted September 3, 2011 Share Posted September 3, 2011 ok this is hard for me i am not sure even where to start from wanna make sth like there be to markers at sf airport runway when two cars are in the two markers a countdown start and there be be like checkpoints (note:its like drag race) and i want a red line at finish line when someone cross it first it says winner and thePlayer (his name) i tried to make this but just an epic fail P.S.:i am trying to make that for freeroam not race Link to comment
triplesnake Posted September 3, 2011 Author Share Posted September 3, 2011 one more thing can someone explain me when to use string and when to use other for variabel type and how Link to comment
JR10 Posted September 3, 2011 Share Posted September 3, 2011 You will need scripting knowledge to do that, no one will script that for you for free. You use variables to store something like a marker: local marker = createMarker local blip = createBlip local ped = createPed local triplesnake = getPlayerFromName("triplesnake") Link to comment
triplesnake Posted September 3, 2011 Author Share Posted September 3, 2011 You will need scripting knowledge to do that, no one will script that for you for free.You use variables to store something like a marker: local marker = createMarker local blip = createBlip local ped = createPed local triplesnake = getPlayerFromName("triplesnake") first ty a lot second i am learning scripting and yeah i got the markers part but the problem is how to make the redline that when u pass it it says winner is ....your name ???? Link to comment
Castillo Posted September 3, 2011 Share Posted September 3, 2011 Make a marker with "finish" type? Link to comment
JR10 Posted September 3, 2011 Share Posted September 3, 2011 local marker = createMarker ( 0 , 0 , 0 ) addEventHandler ( "onMarkerHit" , marker , function ( hEement ) if getElementType ( hElement ) ~= "player" then return end outputChatBox ( getPlayerName ( hElement ) .. " is the winner!" , root , 255 , 0 , 0 ) end) Link to comment
triplesnake Posted September 3, 2011 Author Share Posted September 3, 2011 tttttttttttthhhhhhhhhaaaaaaaaaaaannnnnnnnnnnnnnnnnnnnnnnkkkkkkkkkkkkkkkkkk yooooooooooooouuuuuuuuuuuuuuuuuuuuuuuuuu Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now