new round keeps hp
hello, Im trying to make a human classes and i was wondering how could i let a player having the same "class" more rounds? i mean, if a player chooses class1 (200hp blabla) but he is able to chose only one class per round, how can i let him continuing the same class even the next round without choosing it again?
PHP Code:
edit: the main thing i want is that if i choose class1 with 200hp the next round i want to respawn with 200hp again (as my class) not default with 100 |
Re: new round keeps hp
You can define the HP in an enum for each class and then set each accordingly with set_user_health on that hook roundstart.
|
Re: new round keeps hp
Quote:
|
Re: new round keeps hp
PHP Code:
|
Re: new round keeps hp
1st, i want to add more than just hp, speed and gravity too..
2nd, do i have to use spawnpost because i dont want to show the menu everyround to a player.. |
Re: new round keeps hp
Quote:
PHP Code:
|
| All times are GMT -4. The time now is 15:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.