How to get rid of these?
#6

Quote:
Originally Posted by sniperwars
Посмотреть сообщение
EDIT: You just posted your code as I posted my post.
It has already been pointed out anyhow..

pawn Код:
CMD:sasp(playerid, params[])
{
    if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
        if(IsPlayerInRangeOfPoint(playerid, 4.0, 287, 293.7350, 188.2314))
        {
            ShowPlayerDialog(playerid, DIALOG_SASP, DIALOG_STYLE_LIST, "SASP: Lockers", "Toggle Duty\nEquipment\nClothing Selection\nClear Suspect", "Proceed", "Cancel");
        }
        else
        {
            SendClientMessage(playerid, COLOR_WHITE, "You aren't in range of your SASP lockers.");
        }
    }
    return 1;
}

CMD:sanews(playerid, params[])
{
    if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
    {
        if(IsPlayerInRangeOfPoint(playerid, 4.0, 621.7416,-8.3904,1102.7633))
        {
            ShowPlayerDialog(playerid, DIALOG_SANEWS, DIALOG_STYLE_LIST, "SANews: Lockers", "Toggle Duty\nCamera\nKevlar Vest ($2000)\nFirst Aid Kit\n9mm ($1000)\nClothing Selection", "Proceed", "Cancel");
        }
        else
        {
            SendClientMessage(playerid, COLOR_WHITE, "You aren't in range of your SANews lockers.");
        }
    }
    return 1;
}

CMD:se(playerid, params[])
{
    if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
    {
        if(IsPlayerInRangeOfPoint(playerid,3,354.37,173.91,1008.38) && GetPlayerVirtualWorld(playerid) == 20041)// SENATE Duty
        {
            ShowPlayerDialog(playerid, SEMENU, DIALOG_STYLE_LIST, "Government","Duty\nUniforms\nEquipment", "Select", "Cancel");
        }
        else
        {
            SendClientMessage(playerid, COLOR_WHITE, "You aren't in range of your Senate lockers.");
        }
    }
    return 1;
}
Reply


Messages In This Thread
How to get rid of these? - by FinalxT - 20.05.2012, 18:50
Re: How to get rid of these? - by doreto - 20.05.2012, 18:52
Re: How to get rid of these? - by BlackStrike - 20.05.2012, 18:53
Re: How to get rid of these? - by FinalxT - 20.05.2012, 19:11
Re: How to get rid of these? - by sniperwars - 20.05.2012, 19:12
Re: How to get rid of these? - by Cameltoe - 20.05.2012, 19:18

Forum Jump:


Users browsing this thread: 1 Guest(s)