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

Simple Hook


Post New Thread Reply   
 
Thread Tools Display Modes
TitANious
Veteran Member
Join Date: Feb 2009
Location: Denmark
Old 05-03-2009 , 03:18   Re: Simple Hook
Reply With Quote #11

Why should it be off too?
__________________
I dislike this.

"A sneeze never comes alone!" <-- Important to remember.
TitANious is offline
Send a message via MSN to TitANious
TitANious
Veteran Member
Join Date: Feb 2009
Location: Denmark
Old 05-03-2009 , 04:38   Re: Simple Hook
Reply With Quote #12

Quote:
Originally Posted by Bugsy View Post
This makes no sense to me. Do you care to explain what you are attempting to do?
PHP Code:
//Defining a global variable
new usage

//seting a task with for 10 seconds to call "usage" function that does not exist
set_task(float(get_pcvar_num(usage)), "usage")
//register cvar to hold 10
usage register_cvar("amx_usage_hook","10");

//drawing a laser for staytime seconds
draw_laser(Float:start[3], Float:end[3], staytime)

//seting a task with again for 10 seconds to call "usage" function that does not exist
set_task(float(get_pcvar_num(usage)), "usage"
TitANious, when you say hook are you referring to a plugin that creates a hook to swing from?
That there move you
__________________
I dislike this.

"A sneeze never comes alone!" <-- Important to remember.
TitANious is offline
Send a message via MSN to TitANious
zacky
Senior Member
Join Date: Mar 2008
Location: Sweden
Old 05-03-2009 , 09:19   Re: Simple Hook
Reply With Quote #13

Quote:
Originally Posted by TitANious View Post
Why should it be off too?
When player holds down the button he binded hook to, then hook is on (player uses hook), when he releases the button, its off (player isnt using hook anymore)

Last edited by zacky; 05-03-2009 at 16:24.
zacky is offline
Send a message via Skype™ to zacky
TitANious
Veteran Member
Join Date: Feb 2009
Location: Denmark
Old 05-03-2009 , 12:35   Re: Simple Hook
Reply With Quote #14

Lol okay thanks
__________________
I dislike this.

"A sneeze never comes alone!" <-- Important to remember.
TitANious is offline
Send a message via MSN to TitANious
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 22:18.


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