Mask problem
#2

PHP код:
CMD:mask(playerid,params[])
{
    if(!
IsPlayerInAnyVehicle(playerid))
    {
        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.");
    }
    else return 
SCM(playeridCOLOR_LIGHTRED"You cannot do this inside a vehicle.");

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: 2 Guest(s)