SA-MP Forums Archive
Checkpoint help[Solved] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Checkpoint help[Solved] (/showthread.php?tid=134008)



Checkpoint help[Solved] - Steven82 - 14.03.2010

I have checkpoints made i just do not know how to add them? Can some one help me. I'm using it as a job thing so they have to drive through and stop(don't know how to make that either) and then just go, and at the end they get paid like 300$.


Re: Checkpoint help - BurningSWA - 14.03.2010

i alway do

when he is in a checkpoint
if(isplayerinrangeofpoint(playerid,range,x,y,z))
{
//something...
}

BTW
dont copy this,i diddnt work with capslock


Re: Checkpoint help - Steven82 - 14.03.2010

Quote:
Originally Posted by BurningSWA
i alway do

when he is in a checkpoint
if(isplayerinrangeofpoint(playerid,range,x,y,z))
{
//something...
}

BTW
dont copy this,i diddnt work with capslock
Ok but how would i freeze them so they stay in for 5 seconds then can go?



Re: Checkpoint help - Naxix - 14.03.2010

You can make 2 timers, one that will TooglePlayerControleable(playerid,0); and one that will TooglePlayerControleable(playerid,1);


Re: Checkpoint help - Steven82 - 14.03.2010

I'm sorry nevermind i figured it out thanks guys.


Re: Checkpoint help[Solved] - BurningSWA - 14.03.2010

no prolem
i diddnt do anything but what the hell


Re: Checkpoint help[Solved/closed] - Steven82 - 14.03.2010

Quote:
Originally Posted by BurningSWA
no prolem
i diddnt do anything but what the hell
hahhaa ok now its solved/closed