26.06.2012, 10:17
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/exit", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,3.0, 377.1972,-192.5130,1002.5086); //Donuts Shop
SetPlayerPos(playerid, 1037.9946,-1339.8110,13.7266);
// Do something here
}
return 1;
}