29.05.2017, 18:45
PHP код:
CMD:traer(playerid, params[])
{
if(sscanf(params, "u", params[0])) return SendClientMessage(playerid, -1, "Uso: /traer [id o nombre]");
//obtenemos la posicion del jugador que usarб el comando
new Float:Pos[3];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
//Con esto cambiamos la posicion del jugador al cual queremos traer
SetPlayerPos(params[0], Pos[0], Pos[1], Pos[2]);
return 1;
}

