thecamels8 i said lol i dont knwo i dint get it from no one i said:
i writed this code but dint make it up
i dno no one gave it to me i just thought it would work i thought it would work in my head i writed because it was in my head but then i dint make code up i new t not my code but i thought it work and did
and no one give me i who ever made up this code tell em then ill give credits because no one giv e me :/
For No Spread To Be On It Would Be
Code:void spread() { if(GetAsyncKeyState(VK_NUMPAD9) &1) { *(float*)OFS_NOSPREAD = 1; } }
i will only know how i turn spread off
Guys, Spread automaticly turn ON.
( I mean, NoSpread turn off once you release the key )
If you want to make NoSpread work with hotkey, it's like this :
Enjoy, remember Credits if you use this.Code:// in define part bool nospread = false; // NoSpread Off //Hack function { if(GetAsyncKeyState(VK_'key')) nospread = true; // On if(GetAsyncKeyState(VK_'key')) nospread = false; // Off // Then we check its value. if(nospread==true) *(Float*)Adr_NoSpread = 0; // DOnt need to check if false. Because it will automaticaly turn off when pressing the key to turn off. }
EDIT : Weird, I didn't read carefully your post zerohead ^^
But there's a mistake in it
The first "if(nospread)" shouldn't be here !
Last edited by larta; 03-10-2011 at 12:45 PM.
[img]https://www.upza*****m/viewimg/02a3c-Image4.jpg[/img]
Respect List :
TheCamels8
AeroMan
ryski123
Dave
Alen
Coeus
sh_z_sektor
[Cold]Taker
And some more...
My projects :
Larta's Hack NoMenu ( Updated 25-2-11 ) : https://www.mpgh.net/forum/28-warrock...25-2-11-a.html
Skin Manager v1.5 :
https://www.mpgh.net/forum/159-warroc...er-v1-5-a.html
Skin Manager v2.0 :
https://www.mpgh.net/forum/159-warroc...anager-v*****ml
Dont forget to hit that thanks button !
|
V