![]() |
Bit stuck...
Ok, downloaded the template that someone, forget who, put up, where it just had the template with the bot code removed. I made a new cpp file, made a void with some simple stuff that changes CS. Now, I ran it and nothing happened, and then I remembered I hadn't called it.
Where do you call the void? Like what file, cause so much code it's confusing, and I don't really know the HL engine well at all. |
Re: Bit stuck...
Maybe in StartFrame(). But if you want to make a modding for CS better use metamod.
|
Re: Bit stuck...
Quote:
|
Re: Bit stuck...
Quote:
"A stripped version of botman's HPB-Bot Template which doesn't contain any bot code. This is provided for developer who wants to write a non-bot intercept DLL for a HL MOD." So I think that this guy here is created a new function() and he want to call it. SO if I remeber correct he must call this in StartFrame() and now this new function() will be called every single frame from the game. |
Re: Bit stuck...
I assume 'the void' means 'the function' :)
So you made a cool function that change some basic game rules? If you call this function in StartFrame() it will be executed every frame in HL. |
All times are GMT +2. The time now is 10:33. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.