Quote:
Originally Posted by Jelle
The hero is in unapproved/old heroes, which means it is unsupported. I for one wont look at it. It uses the old method, which I do not like.
And after all you have been taught, you should be able to hook the spawn event and reset the timer for how long you are being stunned. That should take 5 min tops.
And also, if you look at the code, there must be somewhere where the time is hardcoded. Either change it to be a cvar, or just change it and compile it again.
EDIT: Oh hi art.
|
Just cause the hero is Unapproved it does not mean that it is useless. I for one like this hero, apart from these shortcomings wich should be rather easy to solve.
Also, yes, you guys have taught me a lot and I thank you a million times for that, but noone ever taught me how to work with spawn events or timers. I worked with timers for a brief period of time while making the hero Spy, but G-Dog gave me the code so I could compare, but he did not tell me what each thing did so I would probably mess something up due to lack of knowledge.
Edit: @ AoW, Thanks for that, will try it
Edit2: When I add that to the code and run the forward in public newSpawn(id) (was that the wrong place btw?) I get 4 errors while compiling:
Code:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team
//// sh_wonderwoman.sma
// C:\Users\John\Desktop\scripting\sh_wonderwoman.sma(90) : error 029: invalid e
xpression, assumed zero
// C:\Users\John\Desktop\scripting\sh_wonderwoman.sma(90) : error 017: undefined
symbol "attacker"
// C:\Users\John\Desktop\scripting\sh_wonderwoman.sma(90) : error 017: undefined
symbol "victim"
// C:\Users\John\Desktop\scripting\sh_wonderwoman.sma(90) : fatal error 107: too
many error messages on one line
//
// Compilation aborted.
// 4 Errors.
// Could not locate output file C:\Users\John\Desktop\scripting\compiled\sh_wond
erwoman.amx (compile failed).
//
// Compilation Time: 0,22 sec
// ----------------------------------------
Press enter to exit ...
It cleary is something I forgot to define, but what?
__________________
Jelle (1): I LOVE YOU
Jelle (1): Yeah. omg you are so awesome!
--------------
Jelle (1): You know when a poo is about to exit but it is too big?
Jelle (1): God my ass still hurts