26/10/2021 21:57
(26/10/2021 21:50)ProKillerPa Escreveu: Voce poderia exclarecer como funcionará sua ideia, mas a principio é só usar uma stock que retorne o nome do jogador. Use sscanf para armazenar o id em uma var, e dps use a stock que retorna o nome.
Já consegui
Código:
CMD:id(playerid, params[])
{
new idplayer, nomeid[MAX_PLAYER_NAME];
if(sscanf(params, "dd", idplayer)) return SendClientMessage(playerid, ERRO_COR, "[ERRO] Use: /id [ID DO PLAYER]");
GetPlayerName(idplayer, nomeid, MAX_PLAYER_NAME);
SendClientMessage(playerid, -1, "O Nome Do Id: %d É: %s", idplayer, nomeid);