Umiał by ktoś tak zrobić ?? - Z GÓRY DZIĘKI.
KOD:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #include <cstrike> #include <fun> #include <hamsandwich> #include <colorchat> #include <fakemeta> #define PLUGIN "VIP" #define VERSION "1.0" #define AUTHOR "User's amxx.pl" new info_on; new motd_on; public plugin_init(){ register_plugin(PLUGIN, VERSION, AUTHOR); RegisterHam(Ham_Spawn, "player", "runda", 1); register_logevent("func_round",2,"1=Round_Start") info_on = register_cvar("informacja_on", "1"); motd_on = register_cvar("motd_on", "1"); register_clcmd("say /vip", "motd") register_clcmd("say_team /vip", "motd") } public runda(id) { if(get_user_flags(id) & ADMIN_LEVEL_H) { set_user_health(id, 110) set_user_maxspeed(id, - 1.2) give_item(id,"ammo_9mm") give_item(id,"ammo_9mm") give_item(id,"ammo_9mm") give_item(id,"ammo_9mm") give_item(id,"ammo_9mm") give_item(id,"ammo_9mm") give_item(id,"ammo_9mm") give_item(id, "weapon_hegrenade") give_item(id, "weapon_flashbang") give_item(id, "item_thighpack") ColorChat(id, GREEN, "^x03[= Vip =]^x04 Jestes uprzywilejowanym graczem!") } } public func_round(id) { if(info_on) { ColorChat(0, GREEN, "^x03[= Vip =]^x04 Wpisz w say /vip, aby dowiedziec sie wiecej o vip'ie!") } } public motd(id) { if(motd_on) { show_motd(id, "vip.txt", "Co otrzymujesz jako VIP?") } }