RSSy MYGO.pl Opublikowano Kwiecień 29, 2022 o 10:56 RSSy Udostępnij Opublikowano Kwiecień 29, 2022 o 10:56 As the title says i have this plugin: HTML Code: #include <amxmodx> #include <fakemeta> #define PLUGIN "CS:GO Crouch when planting" #define VERSION "1.0" #define AUTHOR "***SeKaC***" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event("BarTime", "BarTime_EventHandler", "be", "1=3"); register_event("BarTime", "BarTime_EventHandler2", "b", "1=0"); register_logevent("BarTime_EventHandler2", 3, "2=Planted_The_Bomb"); } public BarTime_EventHandler(id) { if(!is_user_connected(id)) return; set_pev(id, pev_button, pev(id, pev_button) & IN_DUCK ); client_cmd(id, "+duck") } public BarTime_EventHandler2(id) { if(!is_user_connected(id)) return; set_pev(id, pev_button, pev(id, pev_button) & IN_DUCK ); client_cmd(id, "-duck") } public client_disconnected(id) client_cmd(id, "-duck"); return plugin_handler Only problem is, after planting the bomb, the player will remain ducking forever :twisted: can somebody help with this? Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi