Raised This Month: $ Target: $400
 0% 

ESF Attack help.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Stephen
Senior Member
Join Date: Aug 2004
Old 11-12-2005 , 06:24  
Reply With Quote #2

To remove weapons.
strip the user weapons and give him the attacks where you wanna keep

Code:
public client_PreThink(id)
{
	strip_user_weapons(id)
	give_item(id, "weapon_melee");

	return PLUGIN_HANDLED;
}

Dunno about the other things 100% sure. Its been an while since i modded ESF a little.
--
How you mean Ki usage ? You mena the Powerlevel (with the offsets) ot the KI where is the BlueBar ?
Ah you mena the KI after rereading it ^^



Code:
entity_get_float( id, EV_FL_fuser4 );
entity_set_float( id, EV_FL_fuser4, 1000.0 );// Set the KI to the Max
Code:
new KI = entity_get_float( id, EV_FL_fuser4 )
entity_set_float( id, EV_FL_fuser4, KI -NUMBER)
I think its done that way again, but im not 100% sure atm.
Stephen is offline
 



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 23:39.


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