[AJUDA]Define
#4

pawn Код:
Nome(playerid)
{
    new PNome[MAX_PLAYER_NAME];
    GetPlayerName(playerid, PNome, sizeof(PNome));
    return PNome;
}
EXEMPLO DE USO:
pawn Код:
public OnPlayerText(playerid, text[])
{
    new String[256];
    format(String, sizeof(String), "%s Diz: %s",Nome(playerid), text);
    SendClientMessageToAll(BRANCO, String);
    return 0;
}
Reply


Messages In This Thread
[AJUDA]Define - by .CrazZy._.[De] - 14.10.2011, 15:24
Re: [AJUDA]Define - by WLSF - 14.10.2011, 15:27
Re: [AJUDA]Define - by .CrazZy._.[De] - 14.10.2011, 15:51
Re: [AJUDA]Define - by TiagoPS - 14.10.2011, 15:54
Re: [AJUDA]Define - by Lуs - 14.10.2011, 15:54
Re: [AJUDA]Define - by WLSF - 14.10.2011, 15:55

Forum Jump:


Users browsing this thread: 1 Guest(s)