YCP helpp - 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: YCP helpp (
/showthread.php?tid=78873)
YCP helpp -
Gamer007 - 23.05.2009
I'm using YCP and i need help.
I wrote in YCP topic but nobody answered me.
Wrote all the commands where they needed to be.
Checkpoint shows up perfectly. But when i enter it nothing happens.
Код:
public OnPlayerEnterCheckpoint(playerid)
{
YCP_OnPlayerEnterCheckpoint(playerid);
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT && IsPlayerInStreamCheckpoint(playerid,Docks))
{
return SendClientMessage(playerid,COLOR_ORANGE,"[INFO] Turi buti masinoi.");
}
else if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER && IsPlayerInStreamCheckpoint(playerid,Docks))
{
ShowMenuForPlayer(Dokai,playerid);
}
return 1;
}
That's my OnPlayerEnterCheckpoint callback. I didn't find any other good Checkpoint streamers so i used this one. If u know a better one please tell me it.
Re: YCP helpp -
Gamer007 - 24.05.2009
any1?
Re: YCP helpp -
Gamer007 - 24.05.2009
Cooooooome ooooooon. I REALLY NEED Those ***** checkpoints!!!