Buttons id
#7

no no no You Know RolePlay Server ?
To enter the Locker Room You need to press on Some Key that the Scripter Choosed it.
I want to know what is the Key Because In the Line it Write
PHP код:
if (buttonid == PrisonButtons[0] || buttonid == PrisonButtons[3] || buttonid == PrisonButtons[5] || buttonid == PrisonButtons[6]) 
Here is all the Lines
PHP код:
if (buttonid == PrisonButtons[0] || buttonid == PrisonButtons[3] || buttonid == PrisonButtons[5] || buttonid == PrisonButtons[6])
    {
         if (
PlayerInfo[playerid][pMember] == || PlayerInfo[playerid][pMember] == 11)
           {
            
ShowPlayerDialog(playeridPANELDIALOG_STYLE_LIST"Verdant Bluffs Correctional Facility Controls""Prison Controls\r\nLockdown All\r\nClear Lockdown\r\nDistress Beacon""Select""Cancel");
        }
        else return 
SendClientMessageEx(playeridCOLOR_GREY"You are not authorized to use the control panel.");
    }
    if(
buttonid == PrisonButtons[1])
    {
        if(
IsACop(playerid))
        {
             
MoveDynamicObject(BlastDoors[0],-2093.0048828125, -203.931106567381994.66918945311);
            
SetTimer("ClosePrisonDoor"30000);
        }
        else return 
SendClientMessageEx(playeridCOLOR_GREY"You are not authorized to use this control panel.");
    }
    if(
buttonid == PrisonButtons[2])
    {
        if(
IsACop(playerid))
        {
            
MoveDynamicObject(BlastDoors[1], -2088.7998046875, -211.29980468751996.70629882811);
             
MoveDynamicObject(BlastDoors[6], -2088.76562500,-209.21093750,998.669189451);
            
SetTimer("ClosePrisonDoor2"30000);
        }
        else return 
SendClientMessageEx(playeridCOLOR_GREY"You are not authorized to use this control panel.");
    }
    if(
buttonid == PrisonButtons[4]) //
    
{
        if(
IsACop(playerid))
        {
             
MoveDynamicObject(BlastDoors[11], -2050.50097656,-205.82617188,987.025390621);
            
SetTimer("ClosePrisonDoor3"30000);
        }
        else return 
SendClientMessageEx(playeridCOLOR_GREY"You are not authorized to use this control panel.");
    }
    if(
buttonid == PrisonButtons[7]) //
    
{
        if(
IsACop(playerid))
        {
             
MoveDynamicObject(BlastDoors[14], -2057.9, -143.4987.241);
            
SetTimer("ClosePrisonDoor4"30000);
        }
        else return 
SendClientMessageEx(playeridCOLOR_GREY"You are not authorized to use this control panel.");
    } 
What is the Key To look on the Dialog?
Reply


Messages In This Thread
Buttons id - by Doros - 11.12.2013, 13:34
Re: Buttons id - by Kyance - 11.12.2013, 13:52
Re: Buttons id - by Doros - 11.12.2013, 15:15
Re: Buttons id - by davve95 - 11.12.2013, 15:47
Re: Buttons id - by Doros - 11.12.2013, 15:53
Re: Buttons id - by KingServerIRAN - 11.12.2013, 15:58
Re: Buttons id - by Doros - 11.12.2013, 16:04
Re: Buttons id - by Doros - 11.12.2013, 20:42
Re: Buttons id - by Doros - 12.12.2013, 16:44
Re: Buttons id - by Doros - 13.12.2013, 10:17

Forum Jump:


Users browsing this thread: 7 Guest(s)