Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(strcmp(cmd, "/guns", true) == 0)
- {
- ShowPlayerDialog(playerid,4,DIALOG_STYLE_LIST,"Oruzje","USP\nDeagle\nAK47\nSniper", "Odaberi", "Odustani");
- return 1;
- }
- //ONDIALOGRESPONSE
- if(dialogid == 4)
- {
- if(response)
- {
- if(listitem == 0)
- {
- GivePlayerWeapon(playerid, 22, 9999);
- }
- if(listitem == 1)
- {
- GivePlayerWeapon(playerid, 24, 9999);
- }
- if(listitem == 2)
- {
- GivePlayerWeapon(playerid, 30, 9999);
- }
- if(listitem == 3)
- {
- GivePlayerWeapon(playerid, 34, 9999);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment