Mam prośbę mianowicie, czy mógłbym prosić o lekkie przerobienie pluginu poniżej tak ażeby rozgrzewka była na AWM ale bez możliwości przybliżenia. Dla małego sprostowania, te wymuszenie broni które jest w tym pluginie poniżej nie działa, więc dobrze było by je lekko zmodyfikować.
#include <amxmodx> // AMX Mod X
#include <amxmisc>
new czas = 60
new restart_title[] = "UszateK![FFA] by csnemore.ezbit.pl"
new muza[]="misc/amx_nozowka.mp3"
new bool:restart
public plugin_init()
{
register_plugin("60s 3rr","Run_restart","Sn!ff3r")
register_event("CurWeapon","switchweapon","be","1=1","2!29")
register_event("TextMsg","restart_odlicz","a","2Game_C")
}
public restart_odlicz()
{
restart = true
pause("ac","M_Antirusher.amxx")
pause("ac","alt_end_round_sounds.amxx")
set_task(15.0,"muza_on", 0)
set_task(55.0,"restart_rundy_1", 0)
set_task(57.0,"restart_rundy_2", 0)
set_task(59.0,"restart_rundy_3", 0)
set_task(62.0,"restart_rundy_play", 0)
set_task(60.0,"restart_rundy", 0)
set_task(1.0,"wyswietl_res",8188,"",0,"b")
}
public muza_on()
client_cmd(0,"mp3 play ^"sound/%s^"",muza)
public wyswietl_res()
{
new jac1=random_num(0,255)
new jac2=random_num(0,255)
new jac3=random_num(0,255)
set_hudmessage(jac1, jac2, jac3, -1.0, 0.30, 2, 0.02, 1.0, 0.01, 0.1, 10)
show_hudmessage(0,"==================^n* %s *^nRESTART ZA: %i sec^n==================", restart_title, czas)
czas--
}
public restart_rundy_play()
{
set_hudmessage(10, 255, 40, -1.0, 0.30, 0, 6.0, 6.0, 0.5, 0.15, 4)
show_hudmessage(0,"=============^n* GAME LIVE *^n=============")
czas = 60 // w wypadku gdyby na mapie potrzebna byla jeszcze jedna nozowka
restart = false
}
public restart_rundy()
{
client_cmd(0,"speak misc/kury2")
server_cmd("sv_restart 1")
unpause("ac","M_Antirusher.amxx")
unpause("ac","alt_end_round_sounds.amxx")
}
public restart_rundy_1()
{
remove_task(8188)
set_hudmessage(10, 255, 40, -1.0, 0.30, 0, 6.0, 6.0, 0.5, 0.15, 4)
show_hudmessage(0,"Trzy")
client_cmd(0,"speak misc/three")
}
public restart_rundy_2()
{
set_hudmessage(10, 255, 40, -1.0, 0.30, 0, 6.0, 6.0, 0.5, 0.15, 4)
show_hudmessage(0,"Dwa")
client_cmd(0,"speak misc/two")
}
public restart_rundy_3()
{
set_hudmessage(10, 255, 40, -1.0, 0.30, 0, 6.0, 6.0, 0.5, 0.15, 4)
show_hudmessage(0,"Jeden")
client_cmd(0,"speak misc/one")
}
public plugin_precache()
{
precache_sound(muza)
precache_sound("misc/three.wav")
precache_sound("misc/two.wav")
precache_sound("misc/one.wav")
precache_sound("misc/kury2.wav")
}
public switchweapon(id)
if(restart)
engclient_cmd(id,"weapon_mp5navy")Pozdrawiam


Dodatki SourceMod



Temat jest zamknięty









