Quote:
Originally Posted by Kakioshe22
PHP код:
new n_Checkpoint;
public OnGameModeInit()
{
SetGameModeText("Blank Script");
n_Checkpoint= CreateCheckpoint( info );
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
if(checkpoint == n_Checkpoint)
{
GameTextForPlayer(playerid, "Do NOT abuse the neons!", 5000, 1);
DisablePlayerCheckpoint(playerid);
}
return 1;
}
|
I am sorry but your code is way wrong. First, there isn't even a CreateCheckpoint function in the default SA-MP native functions are you just guessing stuff? Second, that would mean the checkpoint is there ALL the time. Which, if he wants they make things like the streamer plugin.