Undercover command
#6

pawn Код:
CMD:undercover(playerid, params[])
{
    if (GetFactionType(playerid) != FACTION_POLICE)
        return SendErrorMessage(playerid, "You must be a police officer.");

    PlayerData[playerid][pClothesType] = 1;

    switch (PlayerData[playerid][pGender])
    {
        case 1:
            ShowModelSelectionMenu(playerid, "Clothes", MODEL_SELECTION_CLOTHES, g_aMaleSkins, sizeof(g_aMaleSkins), -16.0, 0.0, -55.0);

        case 2:
            ShowModelSelectionMenu(playerid, "Clothes", MODEL_SELECTION_CLOTHES, g_aFemaleSkins, sizeof(g_aFemaleSkins), -16.0, 0.0, -55.0);
    }
    return 1;
}
Reply


Messages In This Thread
Undercover command - by benjaminjones - 25.10.2014, 02:47
Re: Undercover command - by Emmet_ - 25.10.2014, 02:53
Re: Undercover command - by benjaminjones - 25.10.2014, 02:55
Re: Undercover command - by Crayder - 25.10.2014, 03:10
Re: Undercover command - by benjaminjones - 25.10.2014, 03:12
Re: Undercover command - by Emmet_ - 25.10.2014, 03:19
Re: Undercover command - by benjaminjones - 25.10.2014, 03:22
Re: Undercover command - by Quickie - 25.10.2014, 04:19
Re: Undercover command - by benjaminjones - 25.10.2014, 12:33
Re: Undercover command - by Laurey - 25.10.2014, 12:45

Forum Jump:


Users browsing this thread: 1 Guest(s)