- 0
AdminChat/Chat
-
Similar Content
-
- 1 reply
- 248 views
-
- 12 replies
- 2,283 views
-
-
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
Alexica721
Buna ziua sa-mp.ro
am o problema cu chatul
Intra un jucator pe server si are admin lv 0
cand vrea el sa scrie ceva nu ii apare nik la chat
Intru eu pe server(am nivel maxim) si cand scriu ceva imi apare
prin urmare
jucatorii nu pot tasta nimik in chat
codul de la OnPlayerText
[pawn]
// Chat
//==============================================================================
#if ADM_InMSG == true
if (AccInfo[playerid][Hide] == 0)
{
if(AccInfo[playerid][Level] > 1)
{
new str3[256];
format(str3, 256, "{FF0000}(Admin): %s", text);
for(new gz=0;gz<200;gz++)
if(IsPlayerConnected(gz))
SendPlayerMessageToPlayer(gz, playerid, str3);
else SendPlayerMessageToPlayer(gz, playerid, text);
}
return 0;
}
#endif
[/pawn]
M-am lasat de comunitatea sa-mp.ro
Link to comment
Share on other sites
9 answers to this question
Recommended Posts