23.02.2014, 19:25
pawn Код:
CMD:gotoco(playerid, params[])
{
new int, Float:x, Float:y, Float:z;
// You can add your admin code here like "if(PlayerInfo[playerid][pAdmin]..."
if(sscanf(params, "fffi", x,y,z, int)) return SendClientMessage(playerid, -1, "USAGE: /gotoco [x] [y] [z] [interior]");
SetPlayerPos(playerid, x,y,z);
SetPlayerInterior(playerid, int);
return 1;
}
CMD:gotopos(playerid, params[])
{
return cmd_gotoco(playerid, params);
}