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

Lifes (1.2.5 - 29.07.2013)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 07-27-2013 , 06:30   Lifes (1.2.5 - 29.07.2013)
Reply With Quote #1





.: Description :.

Lifes is a simple plugin where players can collect lifes by killing players or winning a round.
Those lifes can be used to respawn when you died in a round.
The Plugin also has two natives to make to compatible with other plugins.

.: Requirements :.
  • A Steam Server
  • (Optional) SQL Database

.: Defines :.

PHP Code:
// Uncomment this line to use SQL instead of Vault
//#define USE_SQL
#define PREFIX     "[Lifes]" 
.: Commands :.
  • say /life - Shows a colored message in the chat with the amount of lifes you have.
  • say /lifes - Shows a colored message in the chat with the amount of lifes you have.

.: CVars :.
  • lifes_minplayer (Default : 2) - Amount of players required to open up the revive menu when dying.
  • lifes_condition (Default : 1) - Condition when a player gets a life.
    • lifes_condition 1 : When a player kills another player.
    • lifes_condition 2 : When the team wins, but only alive players get a life.
    • lifes_condition 3 : When the team wins, but here everybody in the team gets a life.

.: Natives :.
  • get_user_lifes(index) - Returns an integer with the amount of lifes a player has.
  • set_user_lifes(index, value) - Sets <value> as the new amount of lifes a player has.

.: Changelog :.
Quote:
Version 1.2.5
  • Added Multi-Language
Version 1.2.0
  • Changed name from "Deathrun Lifes" to "Lifes".
  • Updated Description.
  • Added CVar lifes_condition
  • Renamed Natives
  • Optimized Plugin.
Version 1.1.0
  • Added SQL Support
Attached Files
File Type: inc kia_lifes.inc (260 Bytes, 390 views)
File Type: sma Get Plugin or Get Source (lifes.sma - 1230 views - 10.1 KB)
File Type: txt kialifes.txt (738 Bytes, 404 views)
__________________

Last edited by Kia; 07-29-2013 at 03:54.
Kia is offline
faki
Senior Member
Join Date: Jul 2013
Old 07-27-2013 , 07:18   Re: Deathrun Lifes (1.0.0 - 27.07.2013)
Reply With Quote #2

Please, add feature to save lifes by mysql and maybe add a menu.

Last edited by faki; 07-27-2013 at 07:18.
faki is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 07-27-2013 , 07:22   Re: Deathrun Lifes (1.0.0 - 27.07.2013)
Reply With Quote #3

Menu for what?
__________________
Kia is offline
faki
Senior Member
Join Date: Jul 2013
Old 07-27-2013 , 07:27   Re: Deathrun Lifes (1.0.0 - 27.07.2013)
Reply With Quote #4

Menu, to show for dead players (to use his lifes)

but now i see this:
lifes_minplayer (Default : 2) - Amount of players required to open up the revive menu when dying.

Which is OK

Last edited by faki; 07-27-2013 at 07:28.
faki is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 07-27-2013 , 07:27   Re: Deathrun Lifes (1.0.0 - 27.07.2013)
Reply With Quote #5

There is already one.
__________________
Kia is offline
faki
Senior Member
Join Date: Jul 2013
Old 07-27-2013 , 07:30   Re: Deathrun Lifes (1.0.0 - 27.07.2013)
Reply With Quote #6

Yes, i see
If you can added mysql support will be nice.
I need plugin like this with mysql support.

Last edited by faki; 07-27-2013 at 07:30.
faki is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 07-27-2013 , 07:33   Re: Deathrun Lifes (1.0.0 - 27.07.2013)
Reply With Quote #7

Why not Vault?
__________________
Kia is offline
faki
Senior Member
Join Date: Jul 2013
Old 07-27-2013 , 07:43   Re: Deathrun Lifes (1.0.0 - 27.07.2013)
Reply With Quote #8

Because i have sms system and i want to work with mysql
faki is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 07-27-2013 , 07:44   Re: Deathrun Lifes (1.0.0 - 27.07.2013)
Reply With Quote #9

Hmm, what do mean with SMS System?
__________________
Kia is offline
faki
Senior Member
Join Date: Jul 2013
Old 07-27-2013 , 07:47   Re: Deathrun Lifes (1.0.0 - 27.07.2013)
Reply With Quote #10

SMS System for players (can buy lifes with sms script)
SMS script updated db information with new.
Players pay for lifes
faki 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 05:46.


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