Who can help me change this plugin
1 Attachment(s)
I hope that in the original plugin new
No.2
No.3
No.4
No.5
Award money
How to increase a bonus NO.2-NO.5
thx
PHP Code:
public ramdon_money(params[]){ new killer=params[0] new oldamount=params[1] new amount new killername[32] new random_range,randomvalue random_range=(rewardedbig)?BIG_MONEY_INDEX:20// for(;;){ randomvalue=random(random_range) amount=rewards[randomvalue] if (amount!=oldamount) break; } get_user_name(killer,killername,31) if (g_random>0){ g_random-- set_hudmessage(0,255,0,0.05,0.25,0, 0.02, 0.4, 0.01, 0.1, 3) show_hudmessage(0,"%s Kills enemy bravely !! And be award %6d Dollars Server",killername,amount) new param[2] param[0]=killer param[1]=amount set_task(0.3,"ramdon_money",0,param,1) } else { if(randomvalue>=BIG_MONEY_INDEX) rewardedbig=1 //set_hudmessage(0,255,0,0.75,0.18,0, 1.0, 5.0, 0.1, 0.2, 1) set_hudmessage(0,255,0,0.05, 0.25, 0, 0.02, 6.0, 0.01, 0.1, 3) show_hudmessage(0,"%s Kills enemy bravely !! And be award %6d Dollars Server",killername,amount) add_player_money(killer,amount) new msg[512] format(msg,511,"^x03%s^x01 Kills enemy bravely !! And be award ^x04 %d ^x01 Dollars Server",killername,amount) client_color(0,killer,msg) } }
|