Advertisement
mforce

Grenades, defuser, full kevlar

Nov 5th, 2015
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.57 KB | None | 0 0
  1. #include <amxmodx>
  2. #include <fun>
  3. #include <hamsandwich>
  4.  
  5. #define PLUGIN "Grenades, defuser, full kevlar"
  6. #define VERSION "1.0"
  7. #define AUTHOR "mforce"
  8.  
  9. public plugin_init() {
  10.         register_plugin(PLUGIN, VERSION, AUTHOR)
  11.         RegisterHam(Ham_Spawn, "player", "spawn_event", 1)
  12. }
  13.  
  14. public spawn_event(id) {
  15.     if(is_user_alive(id)) {
  16.         give_item(id, "item_assaultsuit")
  17.         give_item(id, "weapon_flashbang")
  18.         give_item(id, "weapon_hegrenade")
  19.         give_item(id, "weapon_smokegrenade")
  20.        
  21.         if(get_user_team(id) == 2) {
  22.             give_item(id, "item_thighpack")
  23.         }
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement