AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Lifes (1.2.5 - 29.07.2013) (https://forums.alliedmods.net/showthread.php?t=221855)

Kia 07-27-2013 06:30

Lifes (1.2.5 - 29.07.2013)
 
3 Attachment(s)


http://x14pwnz.tk/Lifes.png

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


faki 07-27-2013 07:18

Re: Deathrun Lifes (1.0.0 - 27.07.2013)
 
Please, add feature to save lifes by mysql and maybe add a menu.

Kia 07-27-2013 07:22

Re: Deathrun Lifes (1.0.0 - 27.07.2013)
 
Menu for what?

faki 07-27-2013 07:27

Re: Deathrun Lifes (1.0.0 - 27.07.2013)
 
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 :)

Kia 07-27-2013 07:27

Re: Deathrun Lifes (1.0.0 - 27.07.2013)
 
There is already one.

faki 07-27-2013 07:30

Re: Deathrun Lifes (1.0.0 - 27.07.2013)
 
Yes, i see :)
If you can added mysql support will be nice.
I need plugin like this with mysql support.

Kia 07-27-2013 07:33

Re: Deathrun Lifes (1.0.0 - 27.07.2013)
 
Why not Vault?

faki 07-27-2013 07:43

Re: Deathrun Lifes (1.0.0 - 27.07.2013)
 
Because i have sms system and i want to work with mysql :)

Kia 07-27-2013 07:44

Re: Deathrun Lifes (1.0.0 - 27.07.2013)
 
Hmm, what do mean with SMS System?

faki 07-27-2013 07:47

Re: Deathrun Lifes (1.0.0 - 27.07.2013)
 
SMS System for players (can buy lifes with sms script)
SMS script updated db information with new.
Players pay for lifes :)


All times are GMT -4. The time now is 17:39.

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