View Single Post
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 10-20-2020 , 14:54   Re: [TF2]Realistic/Campaign mod for TF2 - almost done
Reply With Quote #4

Quote:
Originally Posted by cellercelleriac View Post
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.
Drixevel is offline