20.11.2018, 00:00
pawn Код:
CMD:gotopos(playerid, params[])
{
new Float:x, Float:y, Float:z, interiorid;
if(sscanf(params, "fffI(0)", x, y, z, interiorid))
{
return SendClientMessage(playerid, -1, "/gotopos [x] [y] [z] [interior]"); //default interior is pointed as 0
}
SetPlayerPos(playerid, x, y, z);
SetPlayerInterior(playerid, interiorid);
return 1;
}