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