Jump to content

some help here please


triplesnake

Recommended Posts

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

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
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
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...