[FilterScript] Blood Admin [Registo, Admin, VIP]
#2

Boa bruxo

faz parte do gm que tas a fazer?

esse source pode ser mais otimizado, usa mais o switch em vez de tantos if's

exemplo:

pawn Код:
stock IsAdmin(playerid)
{
    new admin;
    switch(PlayerInfo[playerid][Admin])
    {
        case 1: admin = 1;
        case 2: admin = 2;
        case 3: admin = 3;
        case 0: admin = 0;
    }
    return admin;
}
percebeste?
Reply


Messages In This Thread
Blood Admin [Registo, Admin, VIP] - by bruxo00 - 17.11.2013, 12:50
Re: Blood Admin [Registo, Admin, VIP] - by PT - 17.11.2013, 12:51
Re: Blood Admin [Registo, Admin, VIP] - by WLSF - 17.11.2013, 12:57
Re: Blood Admin [Registo, Admin, VIP] - by bruxo00 - 17.11.2013, 12:58
Respuesta: Re: Blood Admin [Registo, Admin, VIP] - by DanDRT - 17.11.2013, 13:06
Re: Blood Admin [Registo, Admin, VIP] - by SoMbRa69 - 17.11.2013, 13:29
Re: Blood Admin [Registo, Admin, VIP] - by bruxo00 - 17.11.2013, 13:35
Re: Blood Admin [Registo, Admin, VIP] - by iTzDemon - 17.11.2013, 14:21
Re: Blood Admin [Registo, Admin, VIP] - by WLSF - 17.11.2013, 14:31
Re: Blood Admin [Registo, Admin, VIP] - by Juniiro3 - 17.11.2013, 15:03

Forum Jump:


Users browsing this thread: 1 Guest(s)