28.12.2014, 13:09
Код:
CMD:enter(playerid, params[]) { if(IsPlayerInRangeOfPoint(playerid, Float:range, Float:X, Float:Y, Float:Z)) { SetPlayerPos(playerid, Float:x, Float:y, Float:z); SetPlayerInterior(playerid, interiorid); } else if(IsPlayerInRangeOfPoint(playerid, Float:range, Float:X, Float:Y, Float:Z)) { SetPlayerPos(playerid, Float:x, Float:y, Float:z); SetPlayerInterior(playerid, interiorid); } else if(IsPlayerInRangeOfPoint(playerid, Float:range, Float:X, Float:Y, Float:Z)) { SetPlayerPos(playerid, Float:x, Float:y, Float:z); SetPlayerInterior(playerid, interiorid); } return 1; }
You do still have to fill in the values.