17.09.2012, 01:18
pawn Код:
CMD:tp(playerid, params[])
{
new int, Float: x, Float: y, Float: z;
if(sscanf(params, "dfff", int, x, y, z)) return SendClientMessage(playerid, -1, "SYNTAX: /tp [int] [x] [y] [z]");
SetPlayerPos(playerid, x, y, z);
SetPlayerInterior(playerid, int);
SendClientMessage(playerid, -1, "Teleport successful.");
return 1;
}