Raised This Month: $95 Target: $400
 23% 

Frag Game 1.7


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Gameplay        Approver:   Exolent[jNr] (178)
M1R0n,M'
Senior Member
Join Date: Jan 2009
Location: Lithuania
Old 03-06-2009 , 13: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:	3181
Size:	27.8 KB
ID:	39524  
Attached Files
File Type: sma Get Plugin or Get Source (fraggame.sma - 1880 views - 10.2 KB)
File Type: txt fraggame.txt (2.9 KB, 816 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 14:29.
M1R0n,M' is offline
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 03-06-2009 , 13:18   Re: Frag Game
Reply With Quote #2

Yeah I like it!
xbatista is offline
Send a message via Skype™ to xbatista
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 03-06-2009 , 13:20   Re: Frag Game
Reply With Quote #3

looks like gungame
__________________
xPaw is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 03-06-2009 , 13:22   Re: Frag Game
Reply With Quote #4

Code:
[sv]
WIN = %s har vunnit!
RESPAWNED = * Aterupplivad *
Typo in txt file:

RESPAWED RESPAWNED
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
M1R0n,M'
Senior Member
Join Date: Jan 2009
Location: Lithuania
Old 03-06-2009 , 13:28   Re: Frag Game
Reply With Quote #5

updated..
__________________
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"){

M1R0n,M' is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 03-06-2009 , 13:59   Re: Frag Game
Reply With Quote #6

Dutch translation:

Quote:
[nl]
WIN = %s heeft gewonnen!
RESPAWNED = * Terug Tot Leven Gebracht *
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Korniz
New Member
Join Date: Feb 2007
Location: Lithuania
Old 03-06-2009 , 14:38   Re: Frag Game
Reply With Quote #7

gj miron
Korniz is offline
Jay-izi
Senior Member
Join Date: Mar 2008
Location: Estonia Tallinn
Old 03-06-2009 , 15:13   Re: Frag Game
Reply With Quote #8

M1R0n,M', finally you have done it
GJ!
__________________

Jay-izi is offline
Send a message via ICQ to Jay-izi Send a message via MSN to Jay-izi Send a message via Skype™ to Jay-izi
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 03-06-2009 , 15:37   Re: Frag Game
Reply With Quote #9

Quote:
[de]
WIN = %s hat gewonnen!
RESPAWNED = * Wiederbelebt *
KadiR is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-06-2009 , 15:54   Re: Frag Game
Reply With Quote #10

Quote:
Originally Posted by M1R0n,M' View Post
Description:
Frags game,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

Change-Log:

* 1.0
- First release.
How about countdown? i mean there are many idiots & knows nothing. u could add an countdown to print/hudmessage or whatever the countdown.
nice idea, maybe i add this in ma new mod. could be funny
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
Reply


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 14:18.


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