Jump to content
  • 0

Question

Posted

deci am o problema la Chat cand scriu ceva pe Global Chat pe Serveru meu nu ami arata scrisu

uite aici am lasat  chatu global

format(szPlayerChatMsg[playerid], 128, "%s", text);

    iPlayerChatTime[playerid] = GetTickCount();

new rand = random(sizeof(BubbleColors));

SetPlayerChatBubble(playerid, text, BubbleColors[rand][0], 300.0, 5000);

if(Language[playerid] == ROM)

    {

    new MMM[256];

format(MMM, sizeof(MMM),"%s", playerid,text);

SendPlayerMessageToAll(playerid, MMM);

    }

    if(Language[playerid] == ENG)

    {

    new MMM[256];

format(MMM, sizeof(MMM),"%s", playerid,text);

SendPlayerMessageToAll(playerid, MMM);

}

560x95_FFFFFF_FF9900_000000_000000.png

1 answer to this question

Recommended Posts

Posted

Care-i diferenta ? Mai bine lasi asa:

[pawn]iPlayerChatTime[ playerid ] = GetTickCount( );

SetPlayerChatBubble( playerid, text, BubbleColors[ random( sizeof( BubbleColors ) ) ][ 0 ], 300.0, 5000 );[/pawn]

si la sfarsitul la OnPlayerText pune return 1;

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.