They're console commands... Amirite?
Hello all, you know how in the console for example you type "sv_cheats 1"? Well I have a VB script that I havn't tested yet but will it work? I found it on mpgh somewhere, and I want to know the "addresses" for the other ones (sv_consistency, sv_scriptenforcer).
Try
WriteInteger("hl2", &H2051F774, 1)
Catch ex As Exception
End Try
Apparently the "&H2051F774" means sv_cheats. What are the addresses for the other ones? And will this work? Thankyou.
Also, how do I make it toggleable? Like this maybe:
Try
WriteInteger("hl2", &H2051F774, 0, 1)
Catch ex As Exception
End Try
They're console commands... Amirite?
Don't know visual basics but this doesn't seem right.
Does VB read addresses differently from what you previously made?
Because I'm fairly sure that's not the pointer for the address.
sv_allowcslua has the pointer 2ED1F8
sv_cheats has the pointer 40E5E8
sv_consistency has the pointer 40E828
Reason why I'm only sharing pointers is because if I share the entire ones then the leechers will never learn anything.
Last edited by Xenocide; 03-24-2013 at 10:09 AM.
Siknik64 (03-24-2013)
Heres where I got it from, there are more parts in VB to this (quite a lot of stuff).
https://www.mpgh.net/forum/17-game-ha...heats-1-a.html