mah la comanda aia iti lipsesc 2 sau 3 acolade... ai uitat sa le inchizi Uitate bine la comanda si nu mai adauga nimic pentru ca de asta iti apar erorile astea. Si tu asculti de toti care se baga inseama sa faca si ei un +1 EDIT: Uite te-am scutit de un efort sa nu iti folosesti capsorul ala prea mult ca dupa iese fum Aici e comanda buna, inlocuieste pe cea veche cu asta si incerca sa compilezi sa vezi tot erorile alea iti dau? [pawn] if(dialogid == slot1) { if(response) { if(listitem == 0) { PlayerInfo[playerid][pDGun1] = 24; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Desert Eagle Loading..."); OnPlayerUpdate(playerid); ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 1) { PlayerInfo[playerid][pDGun1] = 32; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Tec 9 Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 2) { PlayerInfo[playerid][pDGun1] = 31; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " M4 Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 3) { PlayerInfo[playerid][pDGun1] = 29; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Mp5 Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 4) { PlayerInfo[playerid][pDGun1] = 30; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Ak47 Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 5) { PlayerInfo[playerid][pDGun1] = 33; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Country Rifle Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 6) { PlayerInfo[playerid][pDGun1] = 28; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Micro SMG Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 7) { PlayerInfo[playerid][pDGun1] = 25; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shotgun Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 8) { PlayerInfo[playerid][pDGun1] = 4; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Knife Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 9) { PlayerInfo[playerid][pDGun1] = 5; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Bat Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 10) { PlayerInfo[playerid][pDGun1] = 6; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shovel Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 11) { PlayerInfo[playerid][pDGun1] = 8; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Katana Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 12) { PlayerInfo[playerid][pDGun1] = 23; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " SPistol Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } } return 1; } if(dialogid == slot2) { if(response) { if(listitem == 0) { PlayerInfo[playerid][pDGun2] = 24; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Desert Eagle Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 1) { PlayerInfo[playerid][pDGun2] = 32; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Tec 9 Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 2) { PlayerInfo[playerid][pDGun2] = 31; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " M4 Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 3) { PlayerInfo[playerid][pDGun2] = 29; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Mp5 Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 4) { PlayerInfo[playerid][pDGun2] = 30; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Ak47 Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 5) { PlayerInfo[playerid][pDGun2] = 33; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Country Rifle Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 6) { PlayerInfo[playerid][pDGun2] = 28; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Micro SMG Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 7) { PlayerInfo[playerid][pDGun2] = 25; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shotgun Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 8) { PlayerInfo[playerid][pDGun1] = 4; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Knife Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 9) { PlayerInfo[playerid][pDGun1] = 5; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Bat Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 10) { PlayerInfo[playerid][pDGun1] = 6; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shovel Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 11) { PlayerInfo[playerid][pDGun1] = 8; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Katana Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 12) { PlayerInfo[playerid][pDGun1] = 23; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " SPistol Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } } return 1; } if(dialogid == slot3) { if(response) { if(listitem == 0) { PlayerInfo[playerid][pDGun3] = 24; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Desert Eagle Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 1) { PlayerInfo[playerid][pDGun3] = 32; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Tec 9 Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 2) { PlayerInfo[playerid][pDGun3] = 31; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " M4 Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 3) { PlayerInfo[playerid][pDGun3] = 29; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Mp5 Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 4) { PlayerInfo[playerid][pDGun3] = 30; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Ak47 Loading..."); OnPlayerUpdate(playerid); } if(listitem == 5) { PlayerInfo[playerid][pDGun3] = 33; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Country Rifle Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 6) { PlayerInfo[playerid][pDGun3] = 28; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Micro SMG Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 7) { PlayerInfo[playerid][pDGun3] = 25; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shotgun Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 8) { PlayerInfo[playerid][pDGun1] = 4; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Knife Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 9) { PlayerInfo[playerid][pDGun1] = 5; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Bat Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 10) { PlayerInfo[playerid][pDGun1] = 6; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shovel Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 11) { PlayerInfo[playerid][pDGun1] = 8; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Katana Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 12) { PlayerInfo[playerid][pDGun1] = 23; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " SPistol Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } } return 1; } if(dialogid == slot4) { if(response) { if(listitem == 0) { PlayerInfo[playerid][pDGun4] = 24; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Desert Eagle Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 1) { PlayerInfo[playerid][pDGun4] = 32; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Tec 9 Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 2) { PlayerInfo[playerid][pDGun4] = 31; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " M4 Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 3) { PlayerInfo[playerid][pDGun4] = 29; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Mp5 Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 4) { PlayerInfo[playerid][pDGun4] = 30; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Ak47 Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 5) { PlayerInfo[playerid][pDGun4] = 33; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Country Rifle Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 6) { PlayerInfo[playerid][pDGun4] = 28; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Micro SMG Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 7) { PlayerInfo[playerid][pDGun4] = 25; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shotgun Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 8) { PlayerInfo[playerid][pDGun1] = 4; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Knife Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 9) { PlayerInfo[playerid][pDGun1] = 5; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Bat Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 10) { PlayerInfo[playerid][pDGun1] = 6; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shovel Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 11) { PlayerInfo[playerid][pDGun1] = 8; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Katana Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 12) { PlayerInfo[playerid][pDGun1] = 23; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " SPistol Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } } return 1; } if(dialogid == slot5) { if(response) { if(listitem == 0) { PlayerInfo[playerid][pDGun5] = 24; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Desert Eagle Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 1) { PlayerInfo[playerid][pDGun5] = 32; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Tec 9 Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 2) { PlayerInfo[playerid][pDGun5] = 31; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " M4 Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 3) { PlayerInfo[playerid][pDGun5] = 29; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Mp5 Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 4) { PlayerInfo[playerid][pDGun5] = 30; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Ak47 Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 5) { PlayerInfo[playerid][pDGun5] = 33; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Country Rifle Loading..."); OnPlayerUpdate(playerid); ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 6) { PlayerInfo[playerid][pDGun5] = 28; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Micro SMG Loading..."); OnPlayerUpdate(playerid); ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 7) { PlayerInfo[playerid][pDGun5] = 25; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shotgun Loading..."); OnPlayerUpdate(playerid); ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 8) { PlayerInfo[playerid][pDGun1] = 4; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Knife Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 9) { PlayerInfo[playerid][pDGun1] = 5; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Bat Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 10) { PlayerInfo[playerid][pDGun1] = 6; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shovel Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 11) { PlayerInfo[playerid][pDGun1] = 8; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " Katana Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } if(listitem == 12) { PlayerInfo[playerid][pDGun1] = 23; pgun[playerid] -= 1; SendClientMessage(playerid, COLOR_LIGHTGREEN, " SPistol Loading..."); OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not"); } } return 1; } [/pawn]