RSSy MYGO.pl Opublikowano Luty 1, 2021 o 08:58 RSSy Udostępnij Opublikowano Luty 1, 2021 o 08:58 This plugin should stop terrorists from planting C4 when being alone in server. Please, help to solve it. Short code of a plugin: PHP Code: #include <amxmodx> #include <reapi> public plugin_init() { register_plugin("C4_Block", "1.0", "SNauPeR"); RegisterHookChain(RG_CSGameRules_GiveC4, "CSGameRules_GiveC4_Pre"); } public CSGameRules_GiveC4_Pre() { new Players[32], Count; get_players(Players, Count, "ach"); if(Count < 3) { client_print_color(0, print_team_red, "C4 is blocked until more players join."); return HC_SUPERCEDE; } return HC_CONTINUE; } Error message: Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi