Using prethink.. need some help!
okay.. ive been working on a plugin.. tried doing it with the knowledge of PAST HANDWALKING ONLY!
it failed :cry: :cry: so now, im here again.. please, someone tell me wich way to go please.. PHP Code:
Code:
//// SpyCloak.sma |
Re: Using prethink.. need some help!
PHP Code:
|
Re: Using prethink.. need some help!
thanks TheRadiance. I now realize once I do something, I need to stick to it! now, I need to hook some curweapon events...
|
Re: Using prethink.. need some help!
Explain what you are attempting to do, there may be a better and more resourceful way.
|
Re: Using prethink.. need some help!
I was trying to do exactly what is above.. make a spy cloak.. so when a users class is 'tfc_pc_spy' he will be partially cloaked, and if the user is also using knife, the use gets an advanced cloak, but I have solved this by hooking the Curweapon event and ham_spawn to a set_task.. its working fine right now, thank you though :)
|
Re: Using prethink.. need some help!
Are you still using prethink?
|
Re: Using prethink.. need some help!
nope, hooked it all into a set_task of 6.0 seconds after user spawns, and hooked CurWeapon, my current problem is with hooking Feign...
Code:
Game registered user msgs: msgid sizeplugin_init PHP Code:
PHP Code:
|
Re: Using prethink.. need some help!
What event is "Feign"?
|
Re: Using prethink.. need some help!
You have these events to choose from, you can't make up your own:
http://wiki.amxmodx.org/Half-Life_1_Game_Events |
Re: Using prethink.. need some help!
no! its a game message for tfc... I thought it was enough proof showing an output from meta game... feign is an action a TFC SPY can do...
Code:
20:09:24 meta gameedit: if I set the regevent to take out the 1=1 or turn it to 1=0 it gives me the message for about a millisecond.. EDIT: is there a way to tell when an event ='s something? for example: event 'Feign' changed to 1... |
| All times are GMT -4. The time now is 15:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.