Checkpoint Streamers - 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 Streamers (
/showthread.php?tid=66430)
Checkpoint Streamers -
Salmon - 22.02.2009
I have been having a decent amount of bad luck with checkpoint streamers. I tried CPS and I kept getting this error when I try to follow the instructions for install:
Код:
error 036: empty statement
I have also had no luck with any other Checkpoint streamer.
Is there one that someone can point me to that wont epic fail on me?
Re: Checkpoint Streamers -
Backwardsman97 - 22.02.2009
I have a simple and good one.
http://pastebin.com/m3570a5b4 Open it in notepad and save it as whatever with the extension .inc I don't know who made this because I downloaded it a long time ago and whoever it was didnt put credits in it.
Re: Checkpoint Streamers -
Salmon - 22.02.2009
tyvm
Re: Checkpoint Streamers -
StrickenKid - 22.02.2009
i needed this 2, but whats the actual pwn code i would use with this .inc file :S
Re: Checkpoint Streamers -
Backwardsman97 - 22.02.2009
Use CMAdd and under OnPlayerEnterCheckPoint, add this code.
pawn Код:
new id=CMGetCheckID(playerid);
Then you can check if the id's equal whatever returned by CMAdd. So like this.
pawn Код:
//At the top
new CP;
//OnGameModeInit or wherever
CP = CMAdd(/* the stuff in here */);
//OnPlayerEnterCheckpoint
new id=CMGetCheckID(playerid);
if(id == CP)
{
//Do your thing here.
}