/facmask problem
#5

Problem fixed . I was forgot about that. Solution is

using
PHP код:
 if((!IsACop(playerid) || !IsALVMPDCop(playerid))) return SendClientMessageEx(playeridCOLOR_GREY"   You are not a member of L.E.O !"); 
Is bad idea and there some problem in return . There was no {} and need to replace || to &&
like this :

PHP код:
if(!IsACop(playerid) && !IsALVMPDCop(playerid))
    {
        return 
Error(playerid"You are not authorized to use this command");
    } 
Reply


Messages In This Thread
/facmask problem ( Fixed ) - by SoFahim - 02.11.2015, 13:28
Re: /facmask problem - by jlalt - 02.11.2015, 13:34
Re: /facmask problem - by SoFahim - 02.11.2015, 13:37
Re: /facmask problem - by jlalt - 02.11.2015, 13:46
Re: /facmask problem - by SoFahim - 02.11.2015, 13:50

Forum Jump:


Users browsing this thread: 1 Guest(s)