13.04.2009, 11:39
First, add a checkpoint:
then in the command:
Or something like this.
Код:
public OnPlayerConnect(playerid) { SetPlayerCheckpoint(playerid,X,Y,Z,size); }
Код:
if(!IsPlayerInCheckpoint(playerid)) return SendClientMessage(playerid,color,"You arenґt in the checkpoint!");
