MegastoRM

Untitled

Aug 10th, 2012
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #include <amxmodx>
  2. #include <cs_player_models_api>
  3.  
  4. public plugin_init()
  5. {
  6. // Add your code here...
  7. }
  8.  
  9. public plugin_precache()
  10. {
  11. precache_model("models/player/sas/sas.mdl")
  12. }
  13.  
  14.  
  15. public zp_round_started(gamemode,id)
  16. {
  17. if(is_user_alive(id) && get_user_flags(id) & ADMIN_LEVEL_H)
  18. {
  19. cs_set_player_model(id, "sas")
  20. }
  21. else
  22. {
  23. cs_reset_player_model(id)
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment