-added esf_player_class(id) thanks to Zenith77
Since all the functions for esf didn't work, because there's no module, in 1.80 atleast, I decided to make some stocks of some usefull esf commands.
Tested with 1.23
Usage
esf_get_ki(id) - get's player ki
esf_set_ki(id,1000) - set's player ki, max ki is at 1000, over that will increase the ki bar!
esf_get_powerlevel(id) - get's the powerlevel, the numbers from the ki bar
esf_set_powerlevel(id,940000) - you can set as much as you want, but if you have a bigger powerlevel you do more damage, and sometimes if it's too big, you suicide
esf_get_acpl(id) - get's actual powerlevel
esf_set_acpl(id,940000) - set's actual powerlevel
esf_get_maxhealth(id) - max health
esf_set_maxhealth(id, 1000) - set's the maxhealth, over 1000 health bar exchanges
NEW esf_player_class(id) - get's the class of a player, returns a string (buu,goku,gohan,krillin,frieza,piccolo,trunks ,vegeta,cell)
NEW(updated) esf_player_modelclass(id) //changed from esf_player_class
Code: Select all
The classes of esf_player_modelclass
ESFC_NOCLASS = 0,
ESFC_VEGETA
ESFC_CELL
ESFC_BUU
ESFC_FRIEZA
ESFC_GOHAN
ESFC_GOKU
ESFC_KRILLIN
ESFC_PICCOLO
ESFC_TRUNKS
if(esf_player_class(id) == ESFC_TRUNKS){ }