View Full Version : Life System for TS3
How do i create a plugin that assigns lives for a player everytime a map starts? (and assigned on steam id so when they come back they still have the same number of lives)
such as a cvar like amx_startlives 1
then when player's death exceeds startlives then don't allow player to spawn anymore..
haha sounds like strict rp.
Okay, I will make this, just xolent somebody else, heres my plan for this plugin.
use nvault to save lives by steamid. check by steamid on spawn block IN_ATTACK so you can't spawn if your dead. now, if the map changes, how can you tell them to reset it all? Or how could you say it is a new map?
Thanks
Okay, I will make this, just xolent somebody else, heres my plan for this plugin.
use nvault to save lives by steamid. check by steamid on spawn block IN_ATTACK so you can't spawn if your dead. now, if the map changes, how can you tell them to reset it all? Or how could you say it is a new map?
Thanks
IN_ATTACK? what's that? maybe theres another method that could do this (is there anyway to possible store deaths?) if we can store deaths we can check if it's over amx_startlives and if it is, then we should do the IN_ATTACK. it then would restart in the next map (new deaths) therefore we will not have to worry about map changes..
btw this is for a zombie server (making lives valuable so everyone has more fun)
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.