28.08.2014, 11:21
Fixed version of Death1300's solution:
pawn Код:
CMD:xgoto(playerid, params[])
{
new
string[300],
Float:x,
Float:y,
Float:z,
interiorid;
if(sscanf(params, "fffD(0)", x, y, z, interiorid)) return SendClientMessage(playerid, -1, "(USAGE) /xgoto[x][y][z] <Interior ID>");
SetPlayerPos(playerid, x,y,z);
SetPlayerInterior(playerid, interiorid);
return 1;
}

