View Single Post
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 06-22-2011 , 10:04   Re: Hamsandwich Updating
#9

fysiks, the comment thing is because there are nested comments that are there so one does not forget to update the documentation. It's ok.

Now, to the bug. My guess is that that is failing because I assumed that the function doesn't return a value and it indeed returns. Im gonna attach two versions of the library. One that returns an integer and other that returns a float (by ref). When you use them remove the prefix. Unfortunately I'm not being able to test myself because my windows client isn't able to access my linux server I have to figure out why.

Also issue the following command on the console:

Code:
ham hooks
Just to confirm that it throws:

Code:
Key                      | Classname                   |        Pre |       Post
--------------------------------------------------------------------------------
dod_weapon_zoomout       | weapon_spring               |          1 |          0
Attached Files
File Type: so float_hamsandwich_amxx_i386.so (280.9 KB, 370 views)
File Type: so int_hamsandwich_amxx_i386.so (280.9 KB, 475 views)
joaquimandrade is offline