- 0
Problema text inaintea numelui (tasta T)
-
Similar Content
-
- 4 answers
- 400 views
-
- 4 replies
- 390 views
-
Problema turf
By Soryn.,
- 3 answers
- 268 views
-
- 1 reply
- 180 views
-
Problema
By ImJustSlim,
- 3 answers
- 287 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Kiran
Am incercat ca, in momentul trimiterii unui mesaj pe chat (tasta T), daca esti admin sau helper, sa apara inaintea numelui (A), respectiv (H).
Nu am erori, cred ca omit ceva important..
onplayertext =>
if(realchat) {
if(IsPlayerLogged[playerid] == 0) return 0;
if(TutorialActive[playerid] == 1) return 0;
if(InGame[playerid] == 1) {
new name[36];
if(Team[playerid] == 1) name = "{FFA1A1}(Terrorist){FFFFFF}";
else name ="{75AFFF}(Counter-Terrorist){FFFFFF}";
format(string, sizeof(string), "{DE974B}[%s] %s %s: {FFFFFF}%s", ArenaRank(playerid), name, GetNameEx(playerid), text);
SendGameTeam(Team[playerid], -1, string);
}
if(PlayerInfo[playerid][pHelper] >= 1)
format(string, sizeof(string), "{cc3300}(H){FFFFFF}%s: %s", GetNameEx(playerid), text);
if(PlayerInfo[playerid][pAdmin] >= 1)
format(string, sizeof(string), "{ff0000}(A){FFFFFF}%s: %s", GetNameEx(playerid), text);
Ares4 =(
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.