[AJUDA] Id na frente do nome
#1

Qual й a linha que se escreve? exemplo
The.JHow: (ID 0): Oi gente
Gabriel: (ID 1): Oi


entenderam
Reply
#2

OnPlayerText
Reply
#3

pawn Код:
// coloca no OnPlayerText

    new textv2[128], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof (name));
    format(textv2, sizeof (textv2), "%s: (ID %d): %s", name, playerid, text);
    SendPlayerMessageToAll(playerid, textv2);
    return 0; // nгo esquece de colocar return 0...
Fonte: https://sampwiki.blast.hk/wiki/OnPlayerText
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)