19.08.2013, 14:58
CMD:tp(playerid, params[])
{
new int, Float: x, Float: y, Float: z;
if(sscanf(params, "dfff", int, x, y, z))
return SendClientMessage(playerid, "SYNTAX: /tp [int] [x] [y] [z]"); [this line]
SetPlayerPos(playerid, x, y, z);
SetPlayerInterior(playerid, int);
return 1;
}
{
new int, Float: x, Float: y, Float: z;
if(sscanf(params, "dfff", int, x, y, z))
return SendClientMessage(playerid, "SYNTAX: /tp [int] [x] [y] [z]"); [this line]
SetPlayerPos(playerid, x, y, z);
SetPlayerInterior(playerid, int);
return 1;
}