- 0
Aceeasi problema .
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
3xTaSY
Deci, am inlocuit SendPlayerMessageToAll cu SendClientMessageToAll, si acum, pe server, imi apare ceva de genul:
(Admin)(1): Text ..............
Adica, nu-mi apare nick-ul in fata.
[pawn]
SetPlayerChatBubble(playerid, text, 0xFF9900AA, 200.0, 10000);
if(AccInfo[playerid][Level] > 0 && AccInfo[playerid][Hide] == 1)
{
format(PText, 256, "{15FF00}(%d): {FF0000}%s",playerid, text);
SendClientMessageToAll(playerid, PText);
return 0;
}
else if(AccInfo[playerid][Level] > 0 && AccInfo[playerid][Hide] == 0)
{
format(PText, 256, "{1900FF}(Admin){15FF00}(%d): {FFFFFF}%s", playerid, text);
SendClientMessageToAll(playerid, PText);
return 0;
}
else if(AccInfo[playerid][pVip] > 0)
{
format(PText, 256, "{FF0000}(VIP){15FF00}(%d): {FFFFFF}%s", playerid, text);
SendClientMessageToAll(playerid, PText);
return 0;
}
else if(AccInfo[playerid][Level] < 1 && AccInfo[playerid][pVip] < 1)
{
format(PText, 256, "{15FF00}(%d): {FFFFFF}%s", playerid, text);
SendClientMessageToAll(playerid, PText);
return 0;
}
return 1;
}
[/pawn]
4 answers to this question
Recommended Posts