24.08.2013, 23:34
pawn Код:
if ( response ) {
if ( listitem == 0 )
return ShowPlayerDialog ( playerid, 4, DIALOG_STYLE_LIST, "Notebook - Compras Online", "Vida\nColete\nArmas", "Selecionar", "Fazer Logoff");
if ( dialogid == 4 ) {
if ( response ) {
switch ( listitem ) {
case 0: GivePlayerHealth ( playerid, 100.0 ) ;
case 1: GivePlayerArmour ( playerid, 100.0 ) ;
}
}
}
return 0;
}