25.05.2013, 17:34
Try:
pawn Код:
OnPlayerConnect(playerid)
{
SetPlayerCheckpoint(playerid, Float:x, Float:y, Float:z, Float:size) //the x y z of the bank exterior
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
//set the players position to the bank
//set the players interior to the bank
return 1;
}
//to make sure it works:
public OnPlayerLeaveCheckpoint(playerid)
{
printf("Player %i left a checkpoint!",playerid);
return 1;
}