Mask problem
#1

When you are in the car and type the command, do not put the mask. But when the car outside the command goes.
What can I do?
PHP код:
CMD:mask(playerid,params[])
{
    if(
PlayerInfo[playerid][pMask] == || Mask[playerid] == 1)
    {
        if(
MaskOn[playerid] == 0)
        {
            
MaskOn[playerid] = 1;
            
GameTextForPlayer(playerid"~p~MASK ON"50003);
            for(new 
0MAX_PLAYERSi++)
            {
                
ShowPlayerNameTagForPlayer(playeridi0); 
            }
        }                                        
        else if(
MaskOn[playerid] == 1)
        {
            
MaskOn[playerid] = 0;
            
GameTextForPlayer(playerid"~p~MASK OFF"50003);
            for(new 
0MAX_PLAYERSi++) ShowPlayerNameTagForPlayer(playeridi1);
        }
        return 
1;
    }
    else return 
SCM(playeridCOLOR_LIGHTRED"Nu ai o masca.");

Reply


Messages In This Thread
Mask problem - by radiobizza - 15.08.2015, 09:23
Re: Mask problem - by Sellize - 15.08.2015, 10:20
Re: Mask problem - by radiobizza - 15.08.2015, 10:30
Re: Mask problem - by radiobizza - 17.08.2015, 08:34
Re: Mask problem - by ZToPMaN - 17.08.2015, 08:55
Re: Mask problem - by DaniceMcHarley - 17.08.2015, 09:10
Re: Mask problem - by radiobizza - 18.08.2015, 19:25

Forum Jump:


Users browsing this thread: 1 Guest(s)