Dialogs Problem
#4

pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Menu", "Weapons\nVehicle", "Ok", "Cancel");
    return 1;
}

I put this after the login/register system
pawn Код:
if(response)
    {
    switch(dialogid)
        {
        case 1:
            {
            switch(listitem)
            {
                case 0:
                {
                    GivePlayerWeapon(playerid, 16, 500);
                    GivePlayerWeapon(playerid, 34, 500);
                }
                case 1:
                {
                 PutPlayerInVehicle(playerid, 400, 0);
                }
            }
            }
    }
    }
    return 1;
}
I compiled and no errors and no warnings but when I try to login, invalid password meaning it's not working properly so I can't spawn.
Reply


Messages In This Thread
Dialogs Problem - by StrangeLove - 02.06.2012, 04:58
Re: Dialogs Problem - by Scott - 02.06.2012, 05:03
Re: Dialogs Problem - by newbienoob - 02.06.2012, 05:10
Re: Dialogs Problem - by StrangeLove - 02.06.2012, 05:11
Re: Dialogs Problem - by Scott - 02.06.2012, 05:13
Re: Dialogs Problem - by StrangeLove - 02.06.2012, 05:13
Re: Dialogs Problem - by djcabo - 02.06.2012, 05:13
Re: Dialogs Problem - by Scott - 02.06.2012, 05:15
Re: Dialogs Problem - by StrangeLove - 02.06.2012, 05:23

Forum Jump:


Users browsing this thread: 1 Guest(s)