Którą linijke w tym pluginie musze usunąc aby był sam restart na 40 sekund ale nie było muzy na koniec rundy albo co musze tam zmienic ??
Strona 1 z 1
auto restart knives
#3
Napisano 23 maj 2008 - 16:40
#include <amxmodx> // AMX Mod X
#include <amxmisc>
new czas = 40
new resety=3
new noze=0
new restart_title[1][] = {
"Runda nozowa" //SPAM
}
new misc[3][]={"misc/one.wav","misc/two.wav","misc/three.wav"}
new texty[3][]={"Jeden","Dwa","Trzy"}
public plugin_init()
{
register_plugin("ROund STart REstart","1.1","Edited by Miczu") //cos mi sie nalezy :P
set_task(5.0,"restart_odlicz", 0)
return PLUGIN_CONTINUE
}
public client_PreThink ( id )
{
if(noze) client_cmd(id,"weapon_knife")
}
public restart_odlicz(){
new players[32],num,num2
get_players(players,num,"ae","TERRORIST")
get_players(players,num2,"ae","CT")
if((num)&&(num2))
{
noze=1
set_task(1.0,"wyswietl_res",8188,"",0,"b")
}
else set_task(5.0,"restart_odlicz", 0)
}
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, 0.65, 0.75, 2, 0.02, 1.0, 0.01, 0.1, 10)
show_hudmessage(0,"==================^n* %s *^nRESTART ZA: %i sec^n==================", restart_title, czas)
czas--
if(czas==2){
set_task(0.2,"restart_rundy_0", 0)
remove_task(8188)
}
}
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=============")
}
public restart_rundy(){
noze=0
server_cmd("sv_restart 1")
set_task(2.0,"restart_rundy_play", 0)
}
public restart_rundy_0(){
set_hudmessage(10, 255, 40, -1.0, 0.30, 0, 6.0, 6.0, 0.5, 0.15, 4)
show_hudmessage(0,texty[resety-1])
client_cmd(0,"stopsound")
client_cmd(0,"spk %s",misc[resety-1])
resety--
if(resety==0) set_task(0.5,"restart_rundy", 0)
else set_task(1.5,"restart_rundy_0", 0)
}
public plugin_precache()
{
precache_sound(misc[0])
precache_sound(misc[1])
precache_sound(misc[2])
return PLUGIN_CONTINUE
}
Tu masz bez muzyki +40s.
Opcje tematu:
Strona 1 z 1
- (5 stron)
-
- 1
- 2
- 3
- →
- Ostatnia »
| Adres Trackback | Data Trackback'a | Łącznie trafień |
|---|---|---|
| auto restart v5.0 konfiguracja - Szukaj w Google | mar 23 2010 15:00 | 4 |
| Auto restart Knives - Szukaj w Google | sty 23 2010 17:17 | 4 |
| auto restart knifes - Szukaj w Google | mar 13 2010 09:32 | 2 |
| auto restart knives amxx - Szukaj w Google | mar 29 2010 14:31 | 2 |
| Auto restart Knives - Szukaj w Google | lut 07 2010 15:49 | 2 |
| Autorestart miczu - Szukaj w Google | cze 04 2010 11:44 | 2 |
| auto restart knives - Szukaj w Google | kwi 22 2010 21:01 | 2 |
| auto restart knives - Szukaj w Google | mar 25 2010 12:35 | 1 |
| sound/misc/knifes - Szukaj w Google | mar 23 2010 22:30 | 1 |
| auto retart knives .amxx - Szukaj w Google | mar 27 2010 15:57 | 1 |
- (5 stron)
-
- 1
- 2
- 3
- →
- Ostatnia »
| Temat | Autor | Podsumowanie | Ostatni post | |
|---|---|---|---|---|
![]() |
Restart statystyk
|
kur3k ![]() |
|
|
![]() |
|
pROgAMER ![]() |
|
|
![]() |
Auto-Restart
|
XvAK ![]() |
|
|
![]() |
45s noże restart muzyka
|
Biceps ![]() |
|
|
![]() |
|
pROgAMER ![]() |
|
|

Pomoc
Ważne ogłoszenie!
Temat jest zamknięty

Cytuj














