View Single Post
djcdude
Junior Member
Join Date: Apr 2007
Old 04-07-2007 , 17:03   Re: [Question] How do I run a virtual function?
Reply With Quote #8

Was thinking of hooking Touch(), because I want to create a Deathmatch mod for surfing, so that people have to surf and then find a gun. Once they would walk over a gun, the function connected to the Touch() hook would be called and in it there would be a piece of code to give the person the same type of gun, leaving the Touched one on the ground so next time somebody steps on it they would get that kind of gun. Basically, it would be deathmatch without being able to choose your guns at the start and the guns on the map don't disappear.

Edit: I have decided though to learn C++ and how to do sig scanning to write this for SourceMM

Last edited by djcdude; 04-07-2007 at 17:04. Reason: Forgot something
djcdude is offline