MegastoRM

Untitled

Jan 25th, 2015
343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. #include <amxmodx>
  2. #include <amxmisc>
  3. #include <colorchat>
  4.  
  5. public plugin_init()
  6. {
  7. register_plugin("","","")
  8. }
  9.  
  10. public client_putinserver(id)
  11. {
  12. set_task(3.0, "task_Admin", id)
  13. }
  14.  
  15. public task_Admin(id)
  16. {
  17. new name[32]
  18. get_user_name(id, name, 31)
  19.  
  20. if(is_user_connected(id))
  21. return PLUGIN_CONTINUE;
  22.  
  23. if(get_user_flags(id) & ADMIN_LEVEL_H)
  24. ColorChat(0, BLUE, "VIP %s entered the game!", name)
  25.  
  26. return PLUGIN_CONTINUE
  27. }
Advertisement
Add Comment
Please, Sign In to add comment