20.06.2010, 10:48
Check for the player's virtual worl and interior when he enters the checkpoint. Simple :
Код:
OnPlayerEnterCheckpoint(playerid) { new vw=GetPlayerVirtualWorld(playerid); new interior=GetPlayerInterior(playerid); if(vw== yourvirtualworld && interior == yourinterior) SetPlayerInterior(playerid,yourinterior); // or whatever else return SendClientMessage(playerid,0xffff00aa,"You are not in the same interior as the whatever"); return 1; }