Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
Wklejka 1vu73nhwqp8gw dodana przez jSq, 14.10.2012 11:24
licznik rund
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39.
#include <amxmodx> #include <amxmisc> #include <hamsandwich> #define PLUGIN "runda" #define VERSION "1.0" #define AUTHOR "AmD" new rounds, hudhandler public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) RegisterHam(Ham_Spawn, "player", "client_spawn", 1) register_logevent("round_end", 2, "1=Round_End") register_event("TextMsg","restart_roundsnum","a","2&#Game_C"/*,"2&#Game_w"*/) hudhandler = CreateHudSyncObj() } public round_end() { rounds ++ } public restart_roundsnum() { rounds = 0 } public client_spawn(id) { set_hudmessage(random_num(0,255), random_num(0,255), random_num(0,255), -1.0, 0.3, 2, 0.5, 5.0) ShowSyncHudMsg(id, hudhandler, "= Rozpoczyna sie Runda %d =", rounds) }
Dodanych wklejek: 4031
Powered By (Pav32) Pastebin © 2011