Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(LocalPlayer():HasPoliceRank(PoliceWhitelist.RANK_SENIOR_OFFICER)) then
- GAMEMODE.DialogPanel:AddDialog("Glock 17, please.", NPC.SwitchGun, 5022)
- if(LocalPlayer():HasPoliceRank(PoliceWhitelist.RANK_CORPORAL)) then
- GAMEMODE.DialogPanel:AddDialog("Walther P99, please.", NPC.SwitchGun, 5030)
- if(LocalPlayer():HasPoliceRank(PoliceWhitelist.RANK_SERGEANT)) then
- GAMEMODE.DialogPanel:AddDialog("HK USP40, please.", NPC.SwitchGun, 5027)
- GAMEMODE.DialogPanel:AddDialog("Sig Sauer P226, please.", NPC.SwitchGun, 5031)
- if(LocalPlayer():HasPoliceRank(PoliceWhitelist.RANK_LIEUTENANT)) then
- GAMEMODE.DialogPanel:AddDialog("Glock 20, please.", NPC.SwitchGun, 5008)
- if(LocalPlayer():HasPoliceRank(PoliceWhitelist.RANK_CAPTAIN)) then
- GAMEMODE.DialogPanel:AddDialog("Colt M1911, please.", NPC.SwitchGun, 5013)
- if(LocalPlayer():HasPoliceRank(PoliceWhitelist.RANK_CHIEF_OF_DEPARTMENT)) then
- GAMEMODE.DialogPanel:AddDialog("Colt Python, please.", NPC.SwitchGun, 5041)
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement