Raised This Month: $51 Target: $400
 12% 

Life System


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
TheArmagedon
Senior Member
Join Date: Sep 2010
Location: Unknown Source
Old 06-09-2011 , 15:29   Life System
Reply With Quote #1

Life System
by: TheArmagedon
Description:
Life System is a simple plugin that allows you to have lives ...
If you have a life, you can be reborn using this life ...

How to Get a Life?
You can buy a typing /buylife
Or do you have a chance to win a life every time you die.

Say Commands:
.:> /respawn - If you have a Life, you can Respawn.
.:> /uselife - Same as /respawn command.
.:> /buylife - Buy a life.

Cvars:
.:> amx_life [1/0] - On/Off Life System.
.:> amx_life_cost [Amount] - Life Price.
.:> amx_life_start [Amount] - How many lifes players will start.
.:> amx_life_max [Amount] - Max life to player.
.:> amx_life_auto_respawn [1/0] - On/off Auto Respawn

Screen:

ChangeLog:
Code:
v1.0 - Make the Plugin.
v1.1 - Added Cvar : amx_life_max
v1.2 - Added Cvar : amx_life_auto_respawn
    Changed some things
Attached Thumbnails
Click image for larger version

Name:	Life-System11.jpg
Views:	3983
Size:	22.2 KB
ID:	87212  
Attached Files
File Type: sma Get Plugin or Get Source (life_system.sma - 1503 views - 7.4 KB)

Last edited by TheArmagedon; 06-11-2011 at 21:15. Reason: v1.2
TheArmagedon is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 06-09-2011 , 17:19   Re: Life System
Reply With Quote #2

it's a simple but good idea, good luck ;)
__________________
ANTICHRISTUS is offline
drumzplaya13
Senior Member
Join Date: Feb 2008
Location: TEXAS
Old 06-09-2011 , 17:46   Re: Life System
Reply With Quote #3

What happens when you run out of lives, dont have enough money to buy another one, and everyone else say has 10 or lets go crazy and say 1,000. So you have to wait for everyone then to lose their lives before a new round starts? What about people who join late? Do they have to wait, or will they be respawned and given a specific amount of? What would that amount be, (full amount of lives, or the average of what everyone else has)?

Just some thoughts.
__________________
Think Positive - Stay Positive
drumzplaya13 is offline
kotinha
Senior Member
Join Date: Jun 2009
Location: Alentejo, Portugal :)
Old 06-09-2011 , 18:37   Re: Life System
Reply With Quote #4

Quote:
Originally Posted by drumzplaya13 View Post
What happens when you run out of lives, dont have enough money to buy another one, and everyone else say has 10 or lets go crazy and say 1,000. So you have to wait for everyone then to lose their lives before a new round starts? What about people who join late? Do they have to wait, or will they be respawned and given a specific amount of? What would that amount be, (full amount of lives, or the average of what everyone else has)?

Just some thoughts.
He can add a max lifes by cvar, like: amx_lifes_max
__________________
"If God exists, I hope he has a good excuse." - Woody Allen
kotinha is offline
TheArmagedon
Senior Member
Join Date: Sep 2010
Location: Unknown Source
Old 06-09-2011 , 18:56   Re: Life System
Reply With Quote #5

Quote:
Originally Posted by kotinha View Post
He can add a max lifes by cvar, like: amx_lifes_max
good idea
i'll update it soon
TheArmagedon is offline
drumzplaya13
Senior Member
Join Date: Feb 2008
Location: TEXAS
Old 06-09-2011 , 22:25   Re: Life System
Reply With Quote #6

That wasnt really my point, as in max lives. Thats great and all, but if someone joins the server late, are they going to be dead till everyone is dead on one team or everyone is dead but one, or is he going to respawn and be given lives to play. If he will respawn just connecting, how many lives will he get in relation to everyone elses to make game play fair?

Also, if people who connect or reconnect do revive, then what is stopping someone from reconnecting who has 1 life left or a few, to get a full amount of lives?
__________________
Think Positive - Stay Positive
drumzplaya13 is offline
Breezy
Junior Member
Join Date: May 2010
Location: Türkiye
Old 06-10-2011 , 03:16   Re: Life System
Reply With Quote #7

screen shot update pls.
__________________
www.clanTR.org - Main Administrator
Breezy is offline
Send a message via MSN to Breezy
reinert
Veteran Member
Join Date: Feb 2007
Old 06-10-2011 , 03:21   Re: Life System
Reply With Quote #8

Quote:
Originally Posted by drumzplaya13 View Post
That wasnt really my point, as in max lives. Thats great and all, but if someone joins the server late, are they going to be dead till everyone is dead on one team or everyone is dead but one, or is he going to respawn and be given lives to play. If he will respawn just connecting, how many lives will he get in relation to everyone elses to make game play fair?

Also, if people who connect or reconnect do revive, then what is stopping someone from reconnecting who has 1 life left or a few, to get a full amount of lives?
Round time will still end
reinert is offline
ms@.@
Junior Member
Join Date: May 2011
Old 06-10-2011 , 07:54   Re: Life System
Reply With Quote #9

goooooooooooooooooooooooooooooooooooooooooood
__________________
[Korea ZombiePlague Server]

쵸코의 좀비서버 QQ:1917582796

ChocoCs.Wowip.Co.Kr:27015
ms@.@ is offline
TheArmagedon
Senior Member
Join Date: Sep 2010
Location: Unknown Source
Old 06-10-2011 , 11:40   Re: Life System
Reply With Quote #10

PLUGIN UPDATED. Check the main post.
TheArmagedon is offline
Reply



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


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