get_user_health
its easy but i need a mini help.
if(get_user_health(id) >= 1000) { client_print(id,chat_print,"hp = over 1000") } so the user hp can be changed every time. how can i get user health every 5 sec. for example? |
Re: get_user_health
PHP Code:
|
Re: get_user_health
What exacly you want to do ?
You can hook Health message and manage health there if you want whenever health changes |
Re: get_user_health
tried the same before i posted but after the player get hp over 1000 this prints every 5 sec. the text.
edit : i want just get player health. if the hp is more then 1000, player become new model & willbe stripped + cant peak weapons & other player become for example 300 hp & maybe more things. the problem is, i dont like to repeat the hp check after anyone has more 1000. all this must be reseted after roundend. when i check the hp after every 5 sec. & a player got more 1000, this checks again if anyone has more 1000 ... u know what i mean? no repeat after checked :D |
Re: get_user_health
make some bool... like gHadMore1000HP or smth =\
|
Re: get_user_health
PHP Code:
|
Re: get_user_health
Hook the event Health
|
Re: get_user_health
haha the question is how ?! never tried before :P need some tuts or help.
ty in ad. |
Re: get_user_health
Aint it
PHP Code:
|
Re: get_user_health
heh? was this a question? if yea : yea its so right. but its not the problem. this was just to see if my if works & yea i writed this wrong.
still need help. :cry: nothing works :((( PHP Code:
only i willbe stripped & other hulks, have still weapons. the model works not. cl_minmodel still on 0 but same models. the Ts. will not be transfered after hukl activation. :( where are/is my problem/s?? |
| All times are GMT -4. The time now is 13:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.