SA-MP Forums Archive
checkpointmaker - 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: checkpointmaker (/showthread.php?tid=150375)



checkpointmaker - Kar - 25.05.2010

is there a checkpoint maker??

/ how to make a checkpoint..


Re: checkpointmaker - ViruZZzZ_ChiLLL - 25.05.2010

I think there isn't, you have to script it for yourself.
Also use this for a checkpoint streamer
http://forum.sa-mp.com/index.php?topic=127905.0


Re: checkpointmaker - Kar - 25.05.2010

how do i make it enter a building


Re: checkpointmaker - ViruZZzZ_ChiLLL - 25.05.2010

pawn Код:
new CP1;

public OnGameModeInit()
{
CP1 = CreateDynamicCP(...)
return 1;
}

public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
 if(checkpointid == CP1)
 {
 SetPlayerPos(...)
 }
 return 1;
}



Re: checkpointmaker - Kar - 26.05.2010

what i put in the set playerpos..


Re: checkpointmaker - Steven82 - 26.05.2010

u should *facepalm* becuz u just asked a very stupid


Re: checkpointmaker - Kar - 26.05.2010

-seriously do i put where i want the marker is or the point in the building ..


Re: checkpointmaker - Kar - 26.05.2010

[EDIT] how do i givemyself max cash ingame?

Код:
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SAMPSE~1\GAMEMO~1\ELITED~1.PWN(37) : error 017: undefined symbol "CP1"
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SAMPSE~1\GAMEMO~1\ELITED~1.PWN(37) : error 017: undefined symbol "CreateDynamicCP"
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SAMPSE~1\GAMEMO~1\ELITED~1.PWN(253) : warning 235: public function lacks forward declaration (symbol "OnPlayerEnterDynamicCP")
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SAMPSE~1\GAMEMO~1\ELITED~1.PWN(255) : error 017: undefined symbol "CP1"
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SAMPSE~1\GAMEMO~1\ELITED~1.PWN(257) : warning 213: tag mismatch
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SAMPSE~1\GAMEMO~1\ELITED~1.PWN(257) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.