Quote:
Originally Posted by cellercelleriac
Thanks a lot.
The cheat flag and the ammo pack thing works great, I´ve already corrected that in my code.
(I haven´t tried to mess with the ConVars yet.)
I can´t run the give item stock though (I have included the defines). I have searched the internet but I couldn´t find a guide on that. I tried to hook it somehow but nothing worked (error 100: function prototypes do not match). Could you please explain how to do that?
I´ve updated the script in the attachments.
By the way, did you write all those stocks? Props to that. I´ll be returning to that a lot (if I manage to get it working).
|
Make sure the parameters all match the same data types. Yeah, I wrote/added/edited most of them.