mSelection. Wrong Picture Shows! [HELP]
#1

Hello guys my new problem is. i configured now how to show the right picture on Selection. but everytime i click the picture. it doesn't give me the weapon that i chosen. can anyone help me? code show's below

OnPlayerModelSelectionEx
pawn Код:
#define VWEAPONS 1

public OnPlayerModelSelectionEx(playerid, response, extraid, modelid)
{
    if(extraid == VWEAPONS)
    {
        if(response)
        {
            SendClientMessage(playerid, COLOR_GREEN,"VIP Weapon Recieved");
            GivePlayerWeapon(playerid, modelid, 250);
        }
        else SendClientMessage(playerid, COLOR_RED_ERROR,"Canceled weapon selection");
        return 1;
    }
    return 1;
}
Commands
pawn Код:
CMD:vweapons(playerid)
{
    new weapons[12];
    weapons[0] = 333;
    weapons[1] = 335;
    weapons[2] = 336;
    weapons[3] = 346;
    weapons[4] = 347;
    weapons[5] = 348;
    weapons[6] = 349;
    weapons[7] = 350;
    weapons[8] = 351;
    weapons[9] = 352;
    weapons[10] = 353;
    weapons[11] = 355;
    ShowModelSelectionMenuEx(playerid, weapons, 12, "Select Weapon", VWEAPONS, 16.0, 0.0, -55.0);
    return 1;
}
Reply


Messages In This Thread
mSelection. It doesn't work right [HELP]! - by Patrick - 26.02.2013, 20:13
Re: mSelection. It doesn't work right [HELP]! - by Patrick - 27.02.2013, 14:18
Re: mSelection. Wrong Picture Shows! [HELP] - by SilverKiller - 27.02.2013, 20:13
Re: mSelection. Wrong Picture Shows! [HELP] - by Patrick - 27.02.2013, 20:39
Re: mSelection. Wrong Picture Shows! [HELP] - by Baboon - 27.02.2013, 20:53
Re: mSelection. Wrong Picture Shows! [HELP] - by Basssiiie - 27.02.2013, 20:58
AW: mSelection. Wrong Picture Shows! [HELP] - by d0 - 27.02.2013, 20:59
Re: mSelection. Wrong Picture Shows! [HELP] - by Patrick - 27.02.2013, 21:00

Forum Jump:


Users browsing this thread: 1 Guest(s)