dethharmonic15 (09-30-2010),J (09-29-2010),markoj (09-30-2010),shugeevan (09-29-2010),supercarz1991 (09-30-2010),Tibirius (09-29-2010),trigot (09-30-2010),Xlilzoosk8rX (09-29-2010)
PTC Method
By DeadLinez
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" }
Last edited by DeadLinez; 09-29-2010 at 08:01 PM.
dethharmonic15 (09-30-2010),J (09-29-2010),markoj (09-30-2010),shugeevan (09-29-2010),supercarz1991 (09-30-2010),Tibirius (09-29-2010),trigot (09-30-2010),Xlilzoosk8rX (09-29-2010)
Very nice deadlinez might use this!
rofl wtf 50% SuperBullets? lolz u r pro
Well 50% done but im not really doing it. My uncle is. I know its weird!
It's much easier to just make a function that does this. Then pushing a command would be 1 line of code, rather than 9 lines.
But, I have to admit, it's pretty sexy.
well i think it's more organized, and i just add a new header with al my hacks in it.
Also this is good because then its an undected ptc! Awesome!
ok ,i just rough coded a booled version for "ON/OFF"
Very nice deadlinez.
ok the bool one is very sexy. I like how it's still easy to use, by calling one function instead of manually using inline asm over and over /