Jump to content
  • 0

Hmm, bug ?



Hmm, dupa ce am pus la OnPlayerText in LuxAdmin:




if( AccInfo[ playerid ][ Level ] > 1 )

if( AccInfo[ playerid ][ pVip ] > 0 )


    new string[ 128 ];

    format( string, 128, "[{0049FF}ADM{FFFFFF}+{00C0FF}VIP{FFFFFF}]:{FFFFFF} %s", text );

    SendPlayerMessageToAll( playerid, string );

    return 0;


Ca sa apara pe chat [ADM+VIP] cand cineva are si Admin si VIP.

Bug - Cand scriu ceva mai lung pe chat, sub 128 caractere, apare asa:


Cateva cuvinte raman in dreapta numelui, iar altele se duc mai jos. Asta nu trebuia sa se intample cand scriam ceva mai lung ?


Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Ba de fapt, asa este normal... Incearca sa faci mai mare marima Stringului, 256 de ex...

128 e maxim in chat, deci ce ai zis tu e o mare prostie.

Nu poti fixa, decat daca bagi mai putine culori in acel ADM+VIP, fa-l cu o singura culoare si o sa vezi ca apare mai mult pe prima linie.

Sau baga cu SendClientMessageToAll.

PS: Titlul.

Link to comment
Share on other sites

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.