ERRORS WITH PUBLIC ONDIALOGRESPONSE !
#8

Ok check the code u originally posted. Ur missing a close bracket That's all that's wrong

EDIT - Actually ur code is really not making any sense…here...

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 16) {
        if(response) {
            switch(listitem) {
                case 0: GivePlayerWeapon(playerid, 24, 500);
                case 1: GivePlayerWeapon(playerid, 27, 500);
                case 2: GivePlayerWeapon(playerid, 31,500);
            }
        }
    }
    return 1;
}
that's how the code should look.
Reply


Messages In This Thread
lekei - by xNatz - 25.11.2013, 13:22
Re: ERRORS WITH PUBLIC ONDIALOGRESPONSE ! - by ikkentim - 25.11.2013, 13:37
Re: ERRORS WITH PUBLIC ONDIALOGRESPONSE ! - by xNatz - 25.11.2013, 13:51
Re: ERRORS WITH PUBLIC ONDIALOGRESPONSE ! - by Spydah - 25.11.2013, 13:56
Re: ERRORS WITH PUBLIC ONDIALOGRESPONSE ! - by xNatz - 25.11.2013, 14:25
Re: ERRORS WITH PUBLIC ONDIALOGRESPONSE ! - by newbie scripter - 25.11.2013, 14:34
Re: ERRORS WITH PUBLIC ONDIALOGRESPONSE ! - by SupermanV - 25.11.2013, 14:39
Re: ERRORS WITH PUBLIC ONDIALOGRESPONSE ! - by CJay9209 - 25.11.2013, 18:55

Forum Jump:


Users browsing this thread: 3 Guest(s)