Raised This Month: $ Target: $400
 0% 

Frag Game 1.7


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Gameplay        Approver:   Exolent[jNr] (178)
M1R0n,M'
Senior Member
Join Date: Jan 2009
Location: Lithuania
Old 03-06-2009 , 12:16   Frag Game 1.7
Reply With Quote #1



.: Description :.
Players must gain x amount of frags(controlled by cvar),who first gains x amount of frags he wins the round!On the round start your frags/deaths set again to 0.If victim are killed,victim respawns for x amount of seconds(controlled by cvar).And for the example, if CT team player win,Terrors takes slay.


.: Cvars :.
amx_frags_game "1/0" // Plugin on/off // Default : 1
amx_frags_win "frags" // How much frags need to win. // Default : 15
amx_frags_respawn "Seconds" // Delay before respawning. // Default : 3
amx_frags_weaponpickup "1/0" // 1 - Block weapon pickup. 0 - no block. // Default : 1
amx_frags_respawnglow "1/0" // 1 - On. 0 - off. // Default : 1
amx_frags_glowtime "time" // Default : 2
amx_frags_c4 "1/0" // 1 - strip. 0 - not strip // Default : 1
amx_frags_winmoney "1/0" // 1 - give money. 0 - not give. // Default : 1 // Sorry for my english //
amx_frags_winmoneynum "money" // Default : 5000
amx_frags_lg_frags "on/off" // 1 - lost and got frags. 0 - not lost and not got..
amx_frags_lost_num "Num" // Lost frags // Default : 1
amx_frags_got_num "Num" // Got frags // Default : 1

.: Change-Log :.

* 1.7
- In this version the HUD message telling about the winner was removed. Message in MOTD window added instead. Updated ML.

* 1.6
- Added check if player is alive after he joins team. If not - respawns him.

* 1.5
1)The code is optimized.
2)Added msg about who is leader.
3)When you kill player with knife you will get +1 frag, and the victim will loose his frag, all controled by cvars(like always)
4) Added prefix for msgs: #define PREFIX "[Frag Game] "
5) [Updated ML]

* 1.4
- More money will be given to a winner, controled by cvar. (amx_frags_winmoney , amx_frags_winmoneynum ).

* 1.3
- In this version added glow after respawn for 1-2 seconds, removed c4, all controled by cvar. ( amx_frags_respawnglow, amx_frags_glowtime, amx_frags_c4)

* 1.2
- Added respawn timer which will show the time left till your respawn. Also added weapon pickup blocking (controlled by CVAR - amx_frags_weaponpickup ).

* 1.1
- Fixed a little bug so now spectators wont respawn.

* 1.0
- First release.
Attached Thumbnails
Click image for larger version

Name:	winner.JPG
Views:	3460
Size:	27.8 KB
ID:	39524  
Attached Files
File Type: sma Get Plugin or Get Source (fraggame.sma - 2346 views - 10.2 KB)
File Type: txt fraggame.txt (2.9 KB, 1002 views)
__________________
PHP Code:
#include <hambeer>
RegisterHamBeer(HamBeer_Spawn"player""GivePlayerBeer"1);
public 
GivePlayerBeer(Pl){
    if(!
is_user_alive(Pl)){
        
ham_give_beer(Pl5)
        
client_print(Plprint_chat"Go Go Go"){


Last edited by M1R0n,M'; 03-30-2009 at 13:29.
M1R0n,M' is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode