CheckPoint (Help) - 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) (
/showthread.php?tid=139732)
CheckPoint (Help) -
Jay. - 06.04.2010
Hey

i have made a dealiver Job You drive around in a van dealivering Drugs But theres a problem
for some reason i can't make more than one checkpoint because when i tryed to copy OnPlayerEnterCheckpoint
it wouldn't let me make another one but then how would i disable the Checkpoint when a player got to the second checkpoint?
it said
Код:
C:\Users\(lewis)\Desktop\DealiverJob.pwn(143) : error 021: symbol already defined: "OnPlayerEnterCheckpoint"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Please reply if u can help thanks a lot
Re: CheckPoint (Help) -
Hiddos - 06.04.2010
1) You can't have OnPlayerEnterCheckpoint (As well as the other public thingys) twice in your script.
2) To disable a checkpoint, simply put in the script ''DisableCheckpoint(playerid)''
3) SA-MP can show a maximum of 1 checkpoints at a time (In later versions, I hope more). To use multiple checkpoints, use a streamer.
Re: CheckPoint (Help) -
Jay. - 06.04.2010
Thanks for ur Support..