07.06.2015, 21:02
Using the same way just without the second specific, parameter.
pawn Код:
CMD:goto(playerid, params[])
{
new giveplayerid;
if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, -1, "USAGE: /goto [playerid]");
new Float: x, Float: y, Float: z;
GetPlayerPos(giveplayerid, x, y, z);
SetPlayerPos(playerid, x, y, z);
return 1;
}