09.03.2019, 13:00
PHP Code:
command(trazer, playerid, params[])
{
new id, Float:Pos[3];
if(sscanf(params,"u", id))return SendClientMessage(playerid, -1, "/trazer id");
if(id == playerid)return SendClientMessage(playerid, -1, "/trazer id");
if(!IsPlayerConnected(id)) return SendClientMessage(playerid, -1, "jogador off");
GetPlayerPos(playerid, Pos[0],Pos[1],Pos[2]);
SetPlayerPos(id, Pos[0],Pos[1],Pos[2]);
return true;
}