08.07.2010, 16:39
pawn Код:
if(strcmp(cmdtext,"/cp",true,10)==0)
{
SetPlayerCheckpoint(playerid, 0.0, 0.0, 0.0, 3);
return 1;
}
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid,0xFFFFFFFF,"Congratz, you made it to the checkpoint");
return 1;
}