[ajuda]Alguem podia me ajudar ?
#2

pawn Код:
#include a_samp

//native GetPlayerNameEx(playerid)

stock GetPlayerNameEx(playerid)
{
    new Nome[MAX_PLAYER_NAME]; GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
    return Nome;
}
Salve como PegarNome.inc.

E use no seu gamemode:

pawn Код:
format(string, 128, "O seu nick й: %s", GetPlayerNameEx(playerid));
Pronto, agora vocк sabe fazer uma include bбsica =)
Reply


Messages In This Thread
[ajuda]Alguem podia me ajudar ? - by L.D.K - 04.04.2012, 02:07
Re: [ajuda]Alguem podia me ajudar ? - by Lуs - 04.04.2012, 02:11
Re: [ajuda]Alguem podia me ajudar ? - by L.D.K - 04.04.2012, 02:12

Forum Jump:


Users browsing this thread: 1 Guest(s)