SA-MP Forums Archive
small prob with ckeckpoint lil help plz - 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: small prob with ckeckpoint lil help plz (/showthread.php?tid=67442)



small prob with ckeckpoint lil help plz - RmRm - 01.03.2009

//script top
new NEWCP;


/// this under

public OnGameModeInit()
{

NEWCP = CPS_AddCheckpoint(2196.539062, 604.025451, 11.644821,5,90);


//// this under

public OnPlayerEnterCheckpoint(playerid)
{

if(CPS_IsPlayerInCheckpoint(playerid,NEWCP))
{
SendClientMessage(playerid,0x00C7FFAA,"Checkpoint WORKING YAY");
}



My prob: i make this checkpoint but is there on game but when i enter on it nothing happanes
Dunno whats wrong. NEWCP is my checkpoint