P1xeL

(awp & deagle) Chance

Jun 21st, 2012
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.33 KB | None | 0 0
  1. #include <amxmodx>
  2. #include <fun>
  3. #include <cstrike>
  4.  
  5. public plugin_init()    register_clcmd("say /chance", "Function")
  6.  
  7. public Function(id) {
  8.     switch(random_num(1,20))
  9.     {
  10.         case 5: give_item(id, "weapon_awp") & cs_set_user_bpammo(id, CSW_AWP, 30)
  11.         case 9: give_item(id, "weapon_deagle") & cs_set_user_bpammo(id, CSW_DEAGLE, 80)
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment