[Ajuda] Tag Adm no chat
#8

Creio que suas variбveis sejam do tipo booleana, e estejam definidas assim.
PHP Code:
enum admins
{
    
boolAdminL,
    
boolAdmin,
    
boolModerador,
    
boolAjudante,
    
boolCorregedor
}
new 
aInfo[MAX_PLAYERS][admins]; 
Entгo vocк testa assim
@Edit
PHP Code:
public OnPlayerText(playeridtext[]) 

    new 
string[50]; 
    
    if(
aInfo[playerid][AdminL] || aInfo[playerid][Admin] || aInfo[playerid][Moderador] || aInfo[playerid][Ajudante] || aInfo[playerid][Corregedor])
    {
        
format(stringsizeof(string),"[Staff] Diz: %s"text); 
        
SendPlayerMessageToAll(playeridstring);
    }
    
    return 
0

obs : Lembrando nгo й sу chegar e colocar em seu GM esse cуdigo, isso й sу uma base para vocк tentar entender, tudo que vocк pedir e for servido de bandeja vocк nunca vai aprender.
Reply


Messages In This Thread
Tag Adm no chat - by uliano - 03.04.2018, 02:42
Re: Tag Adm no chat - by Lontresca - 03.04.2018, 02:53
Re: Tag Adm no chat - by AllanSG - 03.04.2018, 03:07
Re: Tag Adm no chat - by Gguiz - 03.04.2018, 05:44
Re: Tag Adm no chat - by uliano - 03.04.2018, 11:23
Re: Tag Adm no chat - by uliano - 03.04.2018, 11:56
Re: Tag Adm no chat - by arakuta - 03.04.2018, 12:15
Re: Tag Adm no chat - by Lontresca - 03.04.2018, 13:14
Re: Tag Adm no chat - by uliano - 03.04.2018, 15:48
Re: Tag Adm no chat - by Lontresca - 03.04.2018, 16:03
Re: Tag Adm no chat - by GunnerCoder - 03.04.2018, 16:39
Re: Tag Adm no chat - by AllanSG - 03.04.2018, 16:55
Re: Tag Adm no chat - by uliano - 03.04.2018, 22:07
Re: Tag Adm no chat - by NelsonC - 04.04.2018, 00:05
Re: Tag Adm no chat - by uliano - 04.04.2018, 01:19
Re: Tag Adm no chat - by NelsonC - 04.04.2018, 12:02
povo vagabonde - by RazorGuigo - 04.04.2018, 12:10
Re: povo vagabonde - by NelsonC - 04.04.2018, 12:19
search nunca matou ninguem - by RazorGuigo - 04.04.2018, 12:28
Re: search nunca matou ninguem - by NelsonC - 04.04.2018, 12:49
Re: Tag Adm no chat - by Gguiz - 04.04.2018, 15:39
Re: Tag Adm no chat - by uliano - 04.04.2018, 17:45

Forum Jump:


Users browsing this thread: 2 Guest(s)