mam prosty plugin rozgrzewki - trwa ona pierwsza runde do poki sie nie zabijemy, problem w tym ze caly czas co runde sie powtarza... a chcialbym tylko aby byla w pierwszej rundzie po zmianie mapy.
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
new bool:game_c
public plugin_init(){
register_plugin("Restart", "8", "Sal")
register_event("TextMsg", "game_commencing", "a", "2&#Game_C")
register_event("ResetHUD", "spawn_event", "be", "1=1")
register_event("SendAudio", "end_round", "a", "2&%!MRAD_terwin", "2&%!MRAD_ctwin", "2&%!MRAD_rounddraw")
game_c = true
}
public spawn_event(id){
pause("ac","M_Antirusher.amxx")
client_print(id,print_chat,"Rozgrzewka")
if(game_c)
{
cs_set_user_money(id,16000)
}
}
public end_round(id){
unpause("ac","M_Antirusher.amxx")
client_print(id,print_chat,"Live!")
game_c = false
set_cvar_num("sv_restart", 2)
pause("ac","nazwa.amxx")
}
public game_commencing(id){
game_c = true
}


Dodatki SourceMod



Temat jest zamknięty








