get health from classname?
I want to get health from lasermine plugin but idk how pls help here is part when owner of plugin set health of lasermine in this line set_user_health(i_Ent,get_pcvar_num(g_LHEALTH )); and i want to get_user_health from lasermine to edit this plugin, pls someone?
PHP Code:
|
Re: get health from classname?
set_user_health only works for players, not for non-player entitys.
To set/get health to/from a non-player entity use pev_health (fakemeta way) |
Re: get health from classname?
thanks i'll try ;;)
|
Re: get health from classname?
Try:
Code:
|
| All times are GMT -4. The time now is 19:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.