Link this cmd together?
#2

PHP код:
CMD:locker(playeridparams[])
{
    if(
PlayerInfo[playerid][pFaction] == || PlayerInfo[playerid][pLeader] == 3)
    {
        if(
IsPlayerInRangeOfPoint(playerid,3,1188.5157470703,-1350.97412109382423.2648925781) || IsPlayerInRangeOfPoint(playerid,3,190.006759166.8875571997.859375))
        {
            
ShowPlayerDialogEx(playeridLSFMDMENUDIALOG_STYLE_LIST"LSFMD","Duty\nUniform\nEquipment\nCivilian""Select""Cancel");
        }
        else
        {
            
SendClientMessage(playeridCOLOR_RED"You're not in range of your LSFMD lockers.");
        }
    }
    else if(
PlayerInfo[playerid][pFaction] == || PlayerInfo[playerid][pLeader] == 9)
     {
          if(
IsPlayerInRangeOfPoint(playerid4.0621.7416,-8.3904,1102.7633))
        {
             
ShowPlayerDialog(playeridDIALOG_SANNewsDIALOG_STYLE_LIST"SANNews: Lockers""Toggle Duty\nCamera\nKevlar Vest ($2000)\nFirst Aid Kit\n9mm ($1000)\nClothing Selection""Proceed""Cancel");
         }
         else
           {
             
SendClientMessage(playeridCOLOR_WHITE"You aren't in range of your SANNews lockers.");
         }
    }
    else if(
PlayerInfo[playerid][pFaction] == || PlayerInfo[playerid][pLeader] == 2)
    {
        if(
IsPlayerInRangeOfPoint(playerid,3,310.3679,-1537.5204,-45.1338))
        {
            
ShowPlayerDialogEx(playeridFDUTYMENUDIALOG_STYLE_LIST"FBI Menu","Duty\nEquipment\nSWAT Uniform\nUniform\nUndercover\nClear Suspect""Select""Cancel");
        }
        else
        {
            
SendClientMessage(playeridCOLOR_WHITE"You're not in range of your FBI lockers.");
        }
    }
    return 
1;

Reply


Messages In This Thread
Link this cmd together? - by AdzeeH - 12.07.2016, 01:34
Re: Link this cmd together? - by Lynn - 12.07.2016, 01:43

Forum Jump:


Users browsing this thread: 1 Guest(s)