1.
Code:
void NoFog(void)
{
__asm
{
push "FogEnable 0";
call 0x377ED910;
add esp, 4;
}
}
2.
Notice this one uses the ALT****C it does not matter.
Code:
void Chams(void)
{
__asm
{
push "SkelModelStencil 1";
call 0x46F670;
add esp, 4;
}
}
3. Using a On/Off System *bool*
Code:
void NoFog(bool ON)
{
if(ON)
{
__asm
{
push "FogEnable 0";
call 0x377ED910;
add esp, 4;
}else{
__asm
{
push "FogEnable 1";
call 0x377ED910;
add esp, 4;
}
}
}
Code:
__asm This Code Defines & runs The ASM Code
{
push "SkelModelStencil 1"; This Pushes the command through
call 0x46F670; This calls the address, the LTClient
add esp, 4; This stores a stack with a value of "4"
}