Advertisement
Aleksandar99

topinfo

Oct 31st, 2013
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1.  
  2. #include <amxmodx>
  3. #include <amxmisc>
  4.  
  5. public plugin_init()
  6. set_task(5.0,"reklama",_,_,_,"b")
  7.  
  8. public reklama()
  9. {
  10.  
  11. new ip[33]
  12. get_user_ip(0,ip,charsmax(ip))
  13. static Servername[32]
  14. get_cvar_string("hostname", Servername, 31)
  15. set_hudmessage(0, 255, 0, -1.0, 0.0, 0, 6.0, 12.0)
  16. show_hudmessage(0,"Ime servera: %s^nIP: %s",Servername,ip)
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement