SA-MP Forums Archive
[Ajuda] Timestamp preto - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Timestamp preto (/showthread.php?tid=662362)



Timestamp preto - Cauezin - 30.12.2018

Estou comeзando a fazer meu sistema de administraзгo e vou comeзar pelo chat.

Sу que estб acontecendo um problema, o timestamp estб totalmente preto, й algo bem feio.

PHP код:

public OnPlayerText(playeridtext[])
{
    static 
string[1000];
    switch(
Player[playerid][pAdmin])
    {
        case 
1:
        {
            
format(stringsizeof(string), "{FFFF00}( %s ) {E1EBFB}%s[%d]: {FFFFFF}%s"StaffInfo[Player[playerid][pAdmin]][NomeCargoStaff], GetPlayerNameEx(playerid), playeridtext);
            
SendClientMessageToAll(playeridstring);
            
SetPlayerChatBubble(playeridStaffInfo[Player[playerid][pAdmin]][NomeCargoStaff], StaffInfo[Player[playerid][pAdmin]][CorCargoStaff], 10.010000);
            return 
0;
        }
        case 
2:
        {
            
format(stringsizeof(string), "{00AA04}( %s ) {E1EBFB}%s[%d]: {FFFFFF}%s"StaffInfo[Player[playerid][pAdmin]][NomeCargoStaff], GetPlayerNameEx(playerid), playeridtext);
            
SendClientMessageToAll(playeridstring);
            
SetPlayerChatBubble(playeridStaffInfo[Player[playerid][pAdmin]][NomeCargoStaff], StaffInfo[Player[playerid][pAdmin]][CorCargoStaff], 10.010000);
            return 
0;
        }
        case 
3:
        {
            
format(stringsizeof(string), "{FF3333}( %s ) {E1EBFB}%s[%d]: {FFFFFF}%s"StaffInfo[Player[playerid][pAdmin]][NomeCargoStaff], GetPlayerNameEx(playerid), playeridtext);
            
SendClientMessageToAll(playeridstring);
            
SetPlayerChatBubble(playeridStaffInfo[Player[playerid][pAdmin]][NomeCargoStaff], StaffInfo[Player[playerid][pAdmin]][CorCargoStaff], 10.010000);
            return 
0;
        }
        case 
4:
        {
            
format(stringsizeof(string), "{6B7AFE}( %s ) {E1EBFB}%s[%d]: {FFFFFF}%s"StaffInfo[Player[playerid][pAdmin]][NomeCargoStaff], GetPlayerNameEx(playerid), playeridtext);
            
SendClientMessageToAll(playeridstring);
            
SetPlayerChatBubble(playeridStaffInfo[Player[playerid][pAdmin]][NomeCargoStaff], StaffInfo[Player[playerid][pAdmin]][CorCargoStaff], 10.010000);
            return 
0;
        }
    }
    return 
1;




Re: Timestamp preto - NWDMadara - 30.12.2018

SendClientMessageToAll(color, string[])


Re: Timestamp preto - Cauezin - 30.12.2018

Mar gent asgdyhjahsdgastydujasdhagdada,

lerdei serinho, vou te dar atй rep