How do you make it the class you picked stays to next round.
Once you join the server there will be a class menu popping up and pick the following classes. Once picked and then later die, I want them to stay the same class next respawn or round.
A better e.g is a player died, then there next respawn they still have there same class from previous round. |
Re: How do you make it the class you picked stays to next round.
as long as you don't touch the variable that stores the class info, it will never change. So you don't need to do anything, if you don't want it to change.
|
Re: How do you make it the class you picked stays to next round.
My mod has auto respawn once they die they respawn again but with no previous weapons.
|
Re: How do you make it the class you picked stays to next round.
You need to store them in some sort of variable and then re-give them when they spawn.
|
Re: How do you make it the class you picked stays to next round.
If memory serves. Pretty sure I've already made you something like this? As long as you didn't change too much it should of worked
but im away from home for a while so won't be able to help till then. |
Re: How do you make it the class you picked stays to next round.
Can you give me an example of the variable.
|
Re: How do you make it the class you picked stays to next round.
Quote:
https://forums.alliedmods.net/showthread.php?t=204642 plus i think the above linked plugin should be unapproved lol... it was a very bad attempted at a first plugin when i started coding. |
Re: How do you make it the class you picked stays to next round.
Quote:
|
| All times are GMT -4. The time now is 10:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.