Raised This Month: $ Target: $400
 0% 

help with a slot ( ESF )


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
B1ondu
Junior Member
Join Date: Apr 2007
Old 05-11-2007 , 08:22   help with a slot ( ESF )
Reply With Quote #1

well i am triyng to replace sensubean with my own kaioken.

here part of my code:

Code:
public plugin_init() {
	...
	register_clcmd("slot9","kaiokenm")
           ...
}

public kaiokenm(id){
	if( entity_get_int(id, EV_INT_playerclass) == 2 ){
		g_Kaioken[id] = 1
	}
}

public client_PostThink(id){
	if(g_Kaioken[id] !=0){
		if(get_user_button(id) & IN_ATTACK){
			set_task(0.0,"kaioken_charge",id)
			
		}
	}
}
this way don't work, please help me

thankx

--blondu

Last edited by B1ondu; 05-11-2007 at 08:50.
B1ondu is offline
 


Thread Tools
Display Modes

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 06:45.


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