14.04.2013, 18:20
On a command processor: (Specifically ZCMD)
pawn Код:
CMD:enter(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 1.0, 595.96, -1251.44, 18.33)) //// if you are in this position
{
SetPlayerPos(playerid,1424.630493, -980.526672, 1639.371460); //////// teleported to this location
SendClientMessage(playerid, -1, "Welcome");
}
else SendClientMessage(playerid, -1, "You are not in the proper location");
return 1;
}