RSSy MYGO.pl Opublikowano Czerwiec 4, 2023 o 03:37 RSSy Udostępnij Opublikowano Czerwiec 4, 2023 o 03:37 I'm using this round money plugin, but, I want the plugin to give 16.000 from the second round on. I'm currently doing it with the task scheduler (amx_task 2 round_money 16000 m) but sometimes we reach the second round before the two minutes mark so the plugin doesn't "kick in" in time. What do I need to add to make this possible? Thanks! PHP Code: #include <amxmodx> #include <amxmisc> #include <cstrike> new MONEY; public plugin_init() { register_plugin("round_money","0.7","SweatyBanana") MONEY = register_cvar("round_money","16000") /* Register LANG file */ register_dictionary("rmlang.txt") register_logevent("new_round", 2, "1=Round_Start") } public new_round() { new players[32], playerCount, i, player, pMoney; pMoney = get_pcvar_num(MONEY) get_players(players,playerCount); for(i=0;i<playerCount;i++) { player = players[i]; if(cs_get_user_money(player) < pMoney) { cs_set_user_money(player, pMoney); client_print_color(player, print_team_default,"^3%L",LANG_PLAYER,"MONEY_AMOUNT",pMoney) } } } Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi