[Ajuda] Como Por O ID Do Jogador Do Lado Do Nome Dele??
#10

Quote:
Originally Posted by CharlieBrown
View Post
Code:
public OnPlayerText(playerid, text[])
{
    new textv2[128], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof (name));
    format(textv2, sizeof (textv2), "%d >> %s: %s", playerid, name, text);
    SendPlayerMessageToAll(playerid, textv2);
    return 0; // ignore the default text and send the custom one
}
Esse da wiki.
seliga
%d Nъmeros
%i Inteiros.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)