14.01.2012, 13:10
Just add it after that, add this:
above "return 0;"
pawn Код:
if(dialogid == DIALOG_TRUNK) {
if(response) { // if you responded to the dialog
switch(listitem) {
case 0: GivePlayerWeapon(playerid, 31, 1000); // Gives player an M4.
case 1: GivePlayerWeapon(playerid, 29, 1000); // Gives player an MP5.
}
}
}