Raised This Month: $51 Target: $400
 12% 

[INC] ESF Stock


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hip_hop_x
Senior Member
Join Date: Apr 2006
Old 12-27-2007 , 10:39   [INC] ESF Stock
Reply With Quote #1

Version 1.2
-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:
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){ }

Suggestions are welcome.
Attached Files
File Type: inc esf_stock.inc (2.2 KB, 790 views)

Last edited by hip_hop_x; 08-14-2008 at 09:03. Reason: updated to version 1.2
hip_hop_x is offline
Send a message via MSN to hip_hop_x Send a message via Yahoo to hip_hop_x
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 12-30-2007 , 16:44   Re: [INC] ESF Stock
Reply With Quote #2

Quote:
Originally Posted by hip_hop_x View Post
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.
because its not a module its a plugin with dynamic natives
__________________
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
hip_hop_x
Senior Member
Join Date: Apr 2006
Old 12-30-2007 , 18:05   Re: [INC] ESF Stock
Reply With Quote #3

well, atleast on the amxmodx.org the esf functions should be updated with the existent ones.

Last edited by hip_hop_x; 12-30-2007 at 18:07.
hip_hop_x is offline
Send a message via MSN to hip_hop_x Send a message via Yahoo to hip_hop_x
Zero [UM-wFs]
Junior Member
Join Date: Aug 2008
Old 08-14-2008 , 07:28   Re: [INC] ESF Stock
Reply With Quote #4

nice work dude

i hope you will update this inc with new functions (maybe i will help you with this xD)
__________________


Zero [UM-wFs] is offline
Send a message via Yahoo to Zero [UM-wFs]
hip_hop_x
Senior Member
Join Date: Apr 2006
Old 08-14-2008 , 09:01   Re: [INC] ESF Stock
Reply With Quote #5

esf_stocks been updated, thanks Zero
hip_hop_x is offline
Send a message via MSN to hip_hop_x Send a message via Yahoo to hip_hop_x
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 12-28-2008 , 19:59   Re: [INC] ESF Stock
Reply With Quote #6

nice work man

i will use this on my plugins ;)
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 12-28-2008 , 21:43   Re: [INC] ESF Stock
Reply With Quote #7

Well, esf.inc which is included to default AMXX package has a lot more functions.

I see there's still no way found of setting custom player model without doing it on each server frame.

BTW nice to see that someone is using my userbar. ^^
__________________
hleV is offline
hip_hop_x
Senior Member
Join Date: Apr 2006
Old 12-29-2008 , 05:23   Re: [INC] ESF Stock
Reply With Quote #8

Quote:
Originally Posted by hleV View Post
Well, esf.inc which is included to default AMXX package has a lot more functions.

I see there's still no way found of setting custom player model without doing it on each server frame.

BTW nice to see that someone is using my userbar. ^^
The esf.inc it is included in the amxmodx default, but doesn't work lol they forgot to add the esf module. You can test something including esf.inc and you'll notice that.
hip_hop_x is offline
Send a message via MSN to hip_hop_x Send a message via Yahoo to hip_hop_x
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 12-29-2008 , 07:36   Re: [INC] ESF Stock
Reply With Quote #9

Code:
BTW nice to see that someone is using my userbar. ^^
sorry i will change it
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 12-29-2008 , 09:06   Re: [INC] ESF Stock
Reply With Quote #10

Quote:
Originally Posted by hip_hop_x View Post
The esf.inc it is included in the amxmodx default, but doesn't work lol they forgot to add the esf module. You can test something including esf.inc and you'll notice that.
They forgot nothing. Just enable EvolutionX.Core.amxx in your plugins.ini.
Quote:
Originally Posted by tuty View Post
Code:
BTW nice to see that someone is using my userbar. ^^
sorry i will change it
I think you just can't read. I said IT'S NICE that you use my userbar. Gosh...
__________________
hleV is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode