Peršokti į turinį
  • ŽAIDIMAI
  • , ŽAIDIMAI
  • ŽAIDIMAI

Ši tema yra neaktyvi. Paskutinis pranešimas šioje temoje buvo prieš 4754 dienas (-ų). Patariame sukurti naują temą, o ne rašyti naują pranešimą.

Už neaktyvių temų prikėlimą galite sulaukti įspėjimo ir pranešimo pašalinimo!

Recommended Posts

tai va yra tokia problema su fragcounter ten kur sone raso kiek fragu nusovei. pas mane yra csdm ir daug daugiau galima nusauti o tas fragcounter ji rodo tik iki9 fragu kai daugiau nusauni jau neberodo 10,11 visad tik 9. Turiu sma. faila. kaip reik sutvarkyt ?

/*AMX MOD X script

**************************************************************************

* FragCounter V 1.01 by Scarzzurs

*

*

* *******************************************************************************

*

* Ported By KingPin( [email protected] ). I take no responsibility

* for this file in any way. Use at your own risk. No warranties of any kind.

*

* ********************************************************************************

*

**********************************************************************************/

#include

#define MAX_KILLS 500

new pfrags[33]

new top

new gmsgStatusIcon

public playerspawn(id){

pfrags[id]=0

top = 0

calculate_time(id,pfrags[id])

}

public death(){

new killer = read_data(1)

pfrags[killer]=pfrags[killer]+1

if (pfrags[killer]==9 && file_exists("sound/misc/monsterkill.wav")==1)

emit_sound(killer,CHAN_STATIC, "misc/monsterkill.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)

topplayer()

new players[32]

new player_num

get_players(players, player_num)

for (new i = 0; i < player_num; i++)

calculate_time(players,pfrags[players])

return PLUGIN_CONTINUE

}

public topplayer(){

new score

new players[32]

new player_num

get_players(players, player_num)

for (new i = 0; i < player_num; i++){

if (pfrags[players]>score){

score=pfrags[players]

top=players

}

else if (pfrags[players]==score)

top = 0

}

}

public calculate_time(id,num){

switch(num){

case 0:{

showtimer(id,"number_1",0)

showtimer(id,"number_2",0)

showtimer(id,"number_3",0)

showtimer(id,"number_4",0)

showtimer(id,"number_5",0)

showtimer(id,"number_6",0)

showtimer(id,"number_7",0)

showtimer(id,"number_8",0)

showtimer(id,"number_9",0)

}

case 1:{

showtimer(id,"number_1",1)

showtimer(id,"number_2",0)

showtimer(id,"number_3",0)

showtimer(id,"number_4",0)

showtimer(id,"number_5",0)

showtimer(id,"number_6",0)

showtimer(id,"number_7",0)

showtimer(id,"number_8",0)

showtimer(id,"number_9",0)

}

case 2:{

showtimer(id,"number_1",0)

showtimer(id,"number_2",1)

showtimer(id,"number_3",0)

showtimer(id,"number_4",0)

showtimer(id,"number_5",0)

showtimer(id,"number_6",0)

showtimer(id,"number_7",0)

showtimer(id,"number_8",0)

showtimer(id,"number_9",0)

}

case 3:{

showtimer(id,"number_1",0)

showtimer(id,"number_2",0)

showtimer(id,"number_3",1)

showtimer(id,"number_4",0)

showtimer(id,"number_5",0)

showtimer(id,"number_6",0)

showtimer(id,"number_7",0)

showtimer(id,"number_8",0)

showtimer(id,"number_9",0)

}

case 4:{

showtimer(id,"number_1",0)

showtimer(id,"number_2",0)

showtimer(id,"number_3",0)

showtimer(id,"number_4",1)

showtimer(id,"number_5",0)

showtimer(id,"number_6",0)

showtimer(id,"number_7",0)

showtimer(id,"number_8",0)

showtimer(id,"number_9",0)

}

case 5:{

showtimer(id,"number_1",0)

showtimer(id,"number_2",0)

showtimer(id,"number_3",0)

showtimer(id,"number_4",0)

showtimer(id,"number_5",1)

showtimer(id,"number_6",0)

showtimer(id,"number_7",0)

showtimer(id,"number_8",0)

showtimer(id,"number_9",0)

}

case 6:{

showtimer(id,"number_1",0)

showtimer(id,"number_2",0)

showtimer(id,"number_3",0)

showtimer(id,"number_4",0)

showtimer(id,"number_5",0)

showtimer(id,"number_6",1)

showtimer(id,"number_7",0)

showtimer(id,"number_8",0)

showtimer(id,"number_9",0)

}

case 7:{

showtimer(id,"number_1",0)

showtimer(id,"number_2",0)

showtimer(id,"number_3",0)

showtimer(id,"number_4",0)

showtimer(id,"number_5",0)

showtimer(id,"number_6",0)

showtimer(id,"number_7",1)

showtimer(id,"number_8",0)

showtimer(id,"number_9",0)

}

case 8:{

showtimer(id,"number_1",0)

showtimer(id,"number_2",0)

showtimer(id,"number_3",0)

showtimer(id,"number_4",0)

showtimer(id,"number_5",0)

showtimer(id,"number_6",0)

showtimer(id,"number_7",0)

showtimer(id,"number_8",1)

showtimer(id,"number_9",0)

}

case 9:{

showtimer(id,"number_1",0)

showtimer(id,"number_2",0)

showtimer(id,"number_3",0)

showtimer(id,"number_4",0)

showtimer(id,"number_5",0)

showtimer(id,"number_6",0)

showtimer(id,"number_7",0)

showtimer(id,"number_8",0)

showtimer(id,"number_9",1)

}

}

}

public showtimer(id,number[21],onoff){

if (is_user_connected(id)){

if (id == top && onoff == 1)

onoff = 2

message_begin( MSG_ONE, gmsgStatusIcon, {0,0,0}, id )

write_byte( onoff ) // status

write_string( number ) // sprite name

write_byte( 0 ) // red

write_byte( 255 ) // green

write_byte( 0 ) // blue

message_end()

}

}

public roundend(){

if (top != 0){

new sname[32]

get_user_name(top,sname,32)

set_hudmessage(0, 255, 0, -1.0, 0.3, 0, 1.0, 5.0, 0.1, 0.2, 5)

show_hudmessage(0,"Best player of the round: %s",sname)

}

}

public plugin_init(){

register_plugin("FragCounter","1.01","Scarzzurs")

gmsgStatusIcon = get_user_msgid("StatusIcon")

register_event("DeathMsg","death","a")

register_event("ResetHUD","playerspawn","b")

register_event("SendAudio","roundend","a","2=%!MRAD_terwin","2=%!MRAD_ctwin","2=%!MRAD_rounddraw")

}

public plugin_precache()

if (file_exists("sound/misc/monsterkill.wav")==1)

precache_sound("misc/monsterkill.wav")

Nuoroda į komentarą
Dalintis per kitą puslapį

/*AMX MOD X script

**************************************************************************

* FragCounter V 1.01 by Scarzzurs

*

*

* *******************************************************************************

*

* Ported By KingPin( [email protected] ). I take no responsibility

* for this file in any way. Use at your own risk. No warranties of any kind.

*

* ********************************************************************************

*

**********************************************************************************/

#include

#define MAX_KILLS 500

new pfrags[33]

new top

new gmsgStatusIcon

public playerspawn(id){

pfrags[id]=0

top = 0

calculate_time(id,pfrags[id])

}

public death(){

new killer = read_data(1)

pfrags[killer]=pfrags[killer]+1

if (pfrags[killer]==12 && file_exists("sound/misc/monsterkill.wav")==1)

emit_sound(killer,CHAN_STATIC, "misc/monsterkill.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)

topplayer()

new players[32]

new player_num

get_players(players, player_num)

for (new i = 0; i < player_num; i++)

calculate_time(players,pfrags[players])

return PLUGIN_CONTINUE

}

public topplayer(){

new score

new players[32]

new player_num

get_players(players, player_num)

for (new i = 0; i < player_num; i++){

if (pfrags[players]>score){

score=pfrags[players]

top=players

}

else if (pfrags[players]==score)

top = 0

}

}

public calculate_time(id,num){

switch(num){

case 0:{

showtimer(id,"number_1",0)

showtimer(id,"number_2",0)

showtimer(id,"number_3",0)

showtimer(id,"number_4",0)

showtimer(id,"number_5",0)

showtimer(id,"number_6",0)

showtimer(id,"number_7",0)

showtimer(id,"number_8",0)

showtimer(id,"number_9",0)

showtimer(id,"number_10",0)

showtimer(id,"number_11",0)

showtimer(id,"number_12",0)

}

case 1:{

showtimer(id,"number_1",1)

showtimer(id,"number_2",0)

showtimer(id,"number_3",0)

showtimer(id,"number_4",0)

showtimer(id,"number_5",0)

showtimer(id,"number_6",0)

showtimer(id,"number_7",0)

showtimer(id,"number_8",0)

showtimer(id,"number_9",0)

showtimer(id,"number_10",0)

showtimer(id,"number_11",0)

showtimer(id,"number_12",0)

}

case 2:{

showtimer(id,"number_1",0)

showtimer(id,"number_2",1)

showtimer(id,"number_3",0)

showtimer(id,"number_4",0)

showtimer(id,"number_5",0)

showtimer(id,"number_6",0)

showtimer(id,"number_7",0)

showtimer(id,"number_8",0)

showtimer(id,"number_9",0)

showtimer(id,"number_10",0)

showtimer(id,"number_11",0)

showtimer(id,"number_12",0)

}

case 3:{

showtimer(id,"number_1",0)

showtimer(id,"number_2",0)

showtimer(id,"number_3",1)

showtimer(id,"number_4",0)

showtimer(id,"number_5",0)

showtimer(id,"number_6",0)

showtimer(id,"number_7",0)

showtimer(id,"number_8",0)

showtimer(id,"number_9",0)

showtimer(id,"number_10",0)

showtimer(id,"number_11",0)

showtimer(id,"number_12",0)

}

case 4:{

showtimer(id,"number_1",0)

showtimer(id,"number_2",0)

showtimer(id,"number_3",0)

showtimer(id,"number_4",1)

showtimer(id,"number_5",0)

showtimer(id,"number_6",0)

showtimer(id,"number_7",0)

showtimer(id,"number_8",0)

showtimer(id,"number_9",0)

showtimer(id,"number_10",0)

showtimer(id,"number_11",0)

showtimer(id,"number_12",0)

}

case 5:{

showtimer(id,"number_1",0)

showtimer(id,"number_2",0)

showtimer(id,"number_3",0)

showtimer(id,"number_4",0)

showtimer(id,"number_5",1)

showtimer(id,"number_6",0)

showtimer(id,"number_7",0)

showtimer(id,"number_8",0)

showtimer(id,"number_9",0)

showtimer(id,"number_10",0)

showtimer(id,"number_11",0)

showtimer(id,"number_12",0)

}

case 6:{

showtimer(id,"number_1",0)

showtimer(id,"number_2",0)

showtimer(id,"number_3",0)

showtimer(id,"number_4",0)

showtimer(id,"number_5",0)

showtimer(id,"number_6",1)

showtimer(id,"number_7",0)

showtimer(id,"number_8",0)

showtimer(id,"number_9",0)

showtimer(id,"number_10",0)

showtimer(id,"number_11",0)

showtimer(id,"number_12",0)

}

case 7:{

showtimer(id,"number_1",0)

showtimer(id,"number_2",0)

showtimer(id,"number_3",0)

showtimer(id,"number_4",0)

showtimer(id,"number_5",0)

showtimer(id,"number_6",0)

showtimer(id,"number_7",1)

showtimer(id,"number_8",0)

showtimer(id,"number_9",0)

showtimer(id,"number_10",0)

showtimer(id,"number_11",0)

showtimer(id,"number_12",0)

}

case 8:{

showtimer(id,"number_1",0)

showtimer(id,"number_2",0)

showtimer(id,"number_3",0)

showtimer(id,"number_4",0)

showtimer(id,"number_5",0)

showtimer(id,"number_6",0)

showtimer(id,"number_7",0)

showtimer(id,"number_8",1)

showtimer(id,"number_9",0)

showtimer(id,"number_10",0)

showtimer(id,"number_11",0)

showtimer(id,"number_12",0)

}

case 9:{

showtimer(id,"number_1",0)

showtimer(id,"number_2",0)

showtimer(id,"number_3",0)

showtimer(id,"number_4",0)

showtimer(id,"number_5",0)

showtimer(id,"number_6",0)

showtimer(id,"number_7",0)

showtimer(id,"number_8",0)

showtimer(id,"number_9",1)

showtimer(id,"number_10",0)

showtimer(id,"number_11",0)

showtimer(id,"number_12",0)

}

}

}

public showtimer(id,number[21],onoff){

if (is_user_connected(id)){

if (id == top && onoff == 1)

onoff = 2

message_begin( MSG_ONE, gmsgStatusIcon, {0,0,0}, id )

write_byte( onoff ) // status

write_string( number ) // sprite name

write_byte( 0 ) // red

write_byte( 255 ) // green

write_byte( 0 ) // blue

message_end()

}

}

public roundend(){

if (top != 0){

new sname[32]

get_user_name(top,sname,32)

set_hudmessage(0, 255, 0, -1.0, 0.3, 0, 1.0, 5.0, 0.1, 0.2, 5)

show_hudmessage(0,"Best player of the round: %s",sname)

}

}

public plugin_init(){

register_plugin("FragCounter","1.01","Scarzzurs")

gmsgStatusIcon = get_user_msgid("StatusIcon")

register_event("DeathMsg","death","a")

register_event("ResetHUD","playerspawn","b")

register_event("SendAudio","roundend","a","2=%!MRAD_terwin","2=%!MRAD_ctwin","2=%!MRAD_rounddraw")

}

public plugin_precache()

if (file_exists("sound/misc/monsterkill.wav")==1)

precache_sound("misc/monsterkill.wav")

----

Dabar tūrėtu būti gerai ;)

Nuoroda į komentarą
Dalintis per kitą puslapį

/*AMX MOD X script

**************************************************************************

* FragCounter V 1.02 by Scarzzurs (lux edited)

*

*

* *******************************************************************************

*

* Ported By KingPin( [email protected] ). I take no responsibility

* for this file in any way. Use at your own risk. No warranties of any kind.

*

* ********************************************************************************

*

**********************************************************************************/

#include

new pfrags[101]

new top

new gmsgStatusIcon

public playerspawn(id){

pfrags[id]=0

top = 0

calculate_time(id,pfrags[id])

}

public death(){

new killer = read_data(1)

pfrags[killer]=pfrags[killer]+1

if (pfrags[killer]==10 && file_exists("sound/misc/monsterkill.wav")==1)

emit_sound(killer,CHAN_STATIC, "misc/monsterkill.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)

if (pfrags[killer]==20 && file_exists("sound/misc/humiliation.wav")==1)

emit_sound(killer,CHAN_STATIC, "misc/humiliation.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)

if (pfrags[killer]==30 && file_exists("sound/misc/killingspree.wav")==1)

emit_sound(killer,CHAN_STATIC, "misc/killingspree.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)

if (pfrags[killer]==50 && file_exists("sound/misc/rampage.wav")==1)

emit_sound(killer,CHAN_STATIC, "misc/rampage.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)

if (pfrags[killer]==75 && file_exists("sound/misc/holyshit.wav")==1)

emit_sound(killer,CHAN_STATIC, "misc/holyshit.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)

if (pfrags[killer]==100 && file_exists("sound/misc/godlike.wav")==1)

emit_sound(killer,CHAN_STATIC, "misc/godlike.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)

topplayer()

new players[32]

new player_num

get_players(players, player_num)

for (new i = 0; i < player_num; i++)

calculate_time(players,pfrags[players])

return PLUGIN_CONTINUE

}

public topplayer(){

new score

new players[32]

new player_num

get_players(players, player_num)

for (new i = 0; i < player_num; i++){

if (pfrags[players]>score){

score=pfrags[players]

top=players

}

else if (pfrags[players]==score)

top = 0

}

}

public calculate_time(id,num){

switch(num){

case 0:{

showtimer(id,"number_9",0)

showtimer(id,"number_8",0)

showtimer(id,"number_7",0)

showtimer(id,"number_6",0)

showtimer(id,"number_5",0)

showtimer(id,"number_4",0)

showtimer(id,"number_3",0)

showtimer(id,"number_2",0)

showtimer(id,"number_1",0)

showtimer(id,"number_0",1)

set_hudmessage ( 0, 0, 0, -99.0, 99.0, 0, 6.0, 0.1, 0.1, 0.1, 4)

show_hudmessage(id," .")

}

case 1:{

showtimer(id,"number_9",0)

showtimer(id,"number_8",0)

showtimer(id,"number_7",0)

showtimer(id,"number_6",0)

showtimer(id,"number_5",0)

showtimer(id,"number_4",0)

showtimer(id,"number_3",0)

showtimer(id,"number_2",0)

showtimer(id,"number_1",1)

showtimer(id,"number_0",0)

}

case 2:{

showtimer(id,"number_9",0)

showtimer(id,"number_8",0)

showtimer(id,"number_7",0)

showtimer(id,"number_6",0)

showtimer(id,"number_5",0)

showtimer(id,"number_4",0)

showtimer(id,"number_3",0)

showtimer(id,"number_2",1)

showtimer(id,"number_1",0)

showtimer(id,"number_0",0)

}

case 3:{

showtimer(id,"number_9",0)

showtimer(id,"number_8",0)

showtimer(id,"number_7",0)

showtimer(id,"number_6",0)

showtimer(id,"number_5",0)

showtimer(id,"number_4",0)

showtimer(id,"number_3",1)

showtimer(id,"number_2",0)

showtimer(id,"number_1",0)

showtimer(id,"number_0",0)

}

case 4:{

showtimer(id,"number_9",0)

showtimer(id,"number_8",0)

showtimer(id,"number_7",0)

showtimer(id,"number_6",0)

showtimer(id,"number_5",0)

showtimer(id,"number_4",1)

showtimer(id,"number_3",0)

showtimer(id,"number_2",0)

showtimer(id,"number_1",0)

showtimer(id,"number_0",0)

}

case 5:{

showtimer(id,"number_9",0)

showtimer(id,"number_8",0)

showtimer(id,"number_7",0)

showtimer(id,"number_6",0)

showtimer(id,"number_5",1)

showtimer(id,"number_4",0)

showtimer(id,"number_3",0)

showtimer(id,"number_2",0)

showtimer(id,"number_1",0)

showtimer(id,"number_0",0)

}

case 6:{

showtimer(id,"number_9",0)

showtimer(id,"number_8",0)

showtimer(id,"number_7",0)

showtimer(id,"number_6",1)

showtimer(id,"number_5",0)

showtimer(id,"number_4",0)

showtimer(id,"number_3",0)

showtimer(id,"number_2",0)

showtimer(id,"number_1",0)

showtimer(id,"number_0",0)

}

case 7:{

showtimer(id,"number_9",0)

showtimer(id,"number_8",0)

showtimer(id,"number_7",1)

showtimer(id,"number_6",0)

showtimer(id,"number_5",0)

showtimer(id,"number_4",0)

showtimer(id,"number_3",0)

showtimer(id,"number_2",0)

showtimer(id,"number_1",0)

showtimer(id,"number_0",0)

}

case 8:{

showtimer(id,"number_9",0)

showtimer(id,"number_8",1)

showtimer(id,"number_7",0)

showtimer(id,"number_6",0)

showtimer(id,"number_5",0)

showtimer(id,"number_4",0)

showtimer(id,"number_3",0)

showtimer(id,"number_2",0)

showtimer(id,"number_1",0)

showtimer(id,"number_0",0)

}

case 9:{

showtimer(id,"number_9",1)

showtimer(id,"number_8",0)

showtimer(id,"number_7",0)

showtimer(id,"number_6",0)

showtimer(id,"number_5",0)

showtimer(id,"number_4",0)

showtimer(id,"number_3",0)

showtimer(id,"number_2",0)

showtimer(id,"number_1",0)

showtimer(id,"number_0",0)

}

case 10:{

showtimer(id,"number_9",0)

showtimer(id,"number_8",0)

showtimer(id,"number_7",0)

showtimer(id,"number_6",0)

showtimer(id,"number_5",0)

showtimer(id,"number_4",0)

showtimer(id,"number_3",0)

showtimer(id,"number_2",0)

showtimer(id,"number_1",0)

showtimer(id,"number_0",0)

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 10")

}

case 11:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 11")

}

case 12:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 12")

}

case 13:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 13")

}

case 14:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 14")

}

case 15:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 15")

}

case 16:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 16")

}

case 17:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 17")

}

case 18:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 18")

}

case 19:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 19")

}

case 20:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 20")

}

case 21:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 21")

}

case 22:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 22")

}

case 23:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 23")

}

case 24:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 24")

}

case 25:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 25")

}

case 26:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 26")

}

case 27:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 27")

}

case 28:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 28")

}

case 29:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 29")

}

case 30:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 30")

}

case 31:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 31")

}

case 32:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 32")

}

case 33:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 33")

}

case 34:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 34")

}

case 35:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 35")

}

case 36:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 36")

}

case 37:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 37")

}

case 38:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 38")

}

case 39:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 39")

}

case 40:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 40")

}

case 41:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 41")

}

case 42:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 42")

}

case 43:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 43")

}

case 44:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 44")

}

case 45:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 45")

}

case 46:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 46")

}

case 47:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 47")

}

case 48:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 48")

}

case 49:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 49")

}

case 50:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 50")

}

case 51:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 51")

}

case 52:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 52")

}

case 53:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 53")

}

case 54:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 54")

}

case 55:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 55")

}

case 56:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 56")

}

case 57:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 57")

}

case 58:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 58")

}

case 59:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 59")

}

case 60:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 60")

}

case 61:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 61")

}

case 62:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 62")

}

case 63:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 63")

}

case 64:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 64")

}

case 65:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 65")

}

case 66:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 66")

}

case 67:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 67")

}

case 68:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 68")

}

case 69:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 69")

}

case 70:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 70")

}

case 71:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 71")

}

case 72:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 72")

}

case 73:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 73")

}

case 74:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 74")

}

case 75:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 75")

}

case 76:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 76")

}

case 77:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 77")

}

case 78:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 78")

}

case 79:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 79")

}

case 80:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 80")

}

case 81:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 81")

}

case 82:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 82")

}

case 83:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 83")

}

case 84:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 84")

}

case 85:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 85")

}

case 86:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 86")

}

case 87:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 87")

}

case 88:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 88")

}

case 89:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 89")

}

case 90:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 90")

}

case 91:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 91")

}

case 92:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 92")

}

case 93:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 93")

}

case 94:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 94")

}

case 95:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 95")

}

case 96:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 96")

}

case 97:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 97")

}

case 98:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 98")

}

case 99:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," 99")

}

case 100:{

set_hudmessage ( 150, 120, 30, -2.0, 0.40, 0, 6.0, 100.0, 0.1, 0.2, 4)

show_hudmessage(id," godlike")

}

}

}

public showtimer(id,number[33],onoff){

if (is_user_connected(id)){

if (id == top && onoff == 1)

onoff = 2

message_begin( MSG_ONE, gmsgStatusIcon, {0,0,0}, id )

write_byte( onoff ) // status

write_string( number ) // sprite name

write_byte( 150 ) // red

write_byte( 120 ) // green

write_byte( 60 ) // blue

message_end()

}

}

public roundend(){

if (top != 0){

new sname[32]

get_user_name(top,sname,32)

set_hudmessage(150, 120, 60, -1.0, 0.3, 0, 1.0, 5.0, 0.1, 0.2, 5)

show_hudmessage(0,"Best player of the round: %s",sname)

}

}

public plugin_init(){

register_plugin("FragCounter","1.02","Scarzzurs - luxedit")

gmsgStatusIcon = get_user_msgid("StatusIcon")

register_event("DeathMsg","death","a")

register_event("ResetHUD","playerspawn","b")

register_event("SendAudio","roundend","a","2=%!MRAD_terwin","2=%!MRAD_ctwin","2=%!MRAD_rounddraw")

}

public plugin_precache(){

if (file_exists("sound/misc/monsterkill.wav")==1)

precache_sound("misc/monsterkill.wav")

if (file_exists("sound/misc/humiliation.wav")==1)

precache_sound("misc/humiliation.wav")

if (file_exists("sound/misc/killingspree.wav")==1)

precache_sound("misc/killingspree.wav")

if (file_exists("sound/misc/rampage.wav")==1)

precache_sound("misc/rampage.wav")

if (file_exists("sound/misc/holyshit.wav")==1)

precache_sound("misc/holyshit.wav")

if (file_exists("sound/misc/godlike.wav")==1)

precache_sound("misc/godlike.wav")

}

Čia ne as padariau, bet radau toki. ;) Nežinau ar veikia, bet kaip matai dar biski sound daugiau.

Nuoroda į komentarą
Dalintis per kitą puslapį

Ši tema yra neaktyvi. Paskutinis pranešimas šioje temoje buvo prieš 4754 dienas (-ų). Patariame sukurti naują temą, o ne rašyti naują pranešimą.

Už neaktyvių temų prikėlimą galite sulaukti įspėjimo ir pranešimo pašalinimo!

Prisijungti prie diskusijos

Palikti atsakymą galite iš karto, o užsiregistruoti vėliau. Jeigu jau turite paskyrą mūsų forume, Prisijunkite.

Svečias
Atsakyti šioje temoje...

×   Įklijuotas tekstas turi teksto formatavimą.   Pašalinti teksto formatavimą

  Galimi tik 75 veidukai.

×   Nuoroda buvo automatiškai įterpta.   Įterpti nuorodą paprastai

×   Jūsų ankstesnis pranešimas buvo atkurtas.   Išvalyti redaktorių

×   Jūs negalite įkelti nuotraukas tiesiogiai.Įkelkite arba įdėkite nuotraukas iš URL.

  • Šiame puslapyje naršo:   0 nariai

    • Nėra registruotų narių peržiūrinčių šį forumą.

Skelbimai


×
×
  • Sukurti naują...