Help plz

Posts 113 of 13 · Page 1 of 1
Help plz
ok iv been using solify's base and its extremely laggy i was wondering how coul i add a a sleep to it so its not laggy
Rofl.

Add this after the hack.

[Code]Sleep(interval);[Code]

Change (interval) to the # you need.

I dont use sleep for my hacks but i think 100 is recommended.
i know that but it keeps giving me errors..... do i need to put the brackets before and after or do i put the sleep and then put the close bracket??
YOu can just put Sleep(100); any were!
Quote Originally Posted by NOOBJr View Post
YOu can just put Sleep(100); any were!
Some people manage to put it in the one place where it gives errors...
alright then.. its my prob then cuz like i keep geting errrors.. oh well i thought it was that i guess not ty anyways
i condensed the navigation to this, and it no longer lags-
Code:
int	MenuSelection=0;
bool Menu = false;



/////////HOW MANY HACKS IN YOUR MENU GOES HERE//////////
int itemsinmenu = 2;






//Hack Variables
bool f[14];






if(GetAsyncKeyState(VK_INSERT)&1){
Menu =! Menu;
}


    



if(Menu && ((GetAsyncKeyState(VK_UP)&1))){
if(MenuSelection > 0)
MenuSelection--;
}
if(Menu && ((GetAsyncKeyState(VK_DOWN)&1))){
if(MenuSelection < itemsinmenu-1)
MenuSelection++;
}
if(Menu && ((GetAsyncKeyState(VK_RIGHT)&1))){
if(Menu){
f[MenuSelection] = !f[MenuSelection];
}
}
if(Menu && ((GetAsyncKeyState(VK_LEFT)&1))){
if(Menu){
f[MenuSelection] = !f[MenuSelection];
}
}
And then i wrote a little function to add items to the menu-
Code:
void addopt(int y,bool *var, char *txt,LPDIRECT3DDEVICE9 pDevice)
{

	if(*var)
	{
		DrawText(31,y,Green,txt,pDevice);
		DrawText(260,y,Green,"On",pDevice);
	}
	else
	{
		DrawText(31,y,Red,txt ,pDevice);
		DrawText(258,y,Green,"Off",pDevice);
	}
You'll have to figure out the rest. If you cant, then you shouldn't be making a hack.
Quote Originally Posted by _Fk127_ View Post
i condensed the navigation to this, and it no longer lags-
Code:
int	MenuSelection=0;
bool Menu = false;



/////////HOW MANY HACKS IN YOUR MENU GOES HERE//////////
int itemsinmenu = 2;






//Hack Variables
bool f[14];






if(GetAsyncKeyState(VK_INSERT)&1){
Menu =! Menu;
}


    



if(Menu && ((GetAsyncKeyState(VK_UP)&1))){
if(MenuSelection > 0)
MenuSelection--;
}
if(Menu && ((GetAsyncKeyState(VK_DOWN)&1))){
if(MenuSelection < itemsinmenu-1)
MenuSelection++;
}
if(Menu && ((GetAsyncKeyState(VK_RIGHT)&1))){
if(Menu){
f[MenuSelection] = !f[MenuSelection];
}
}
if(Menu && ((GetAsyncKeyState(VK_LEFT)&1))){
if(Menu){
f[MenuSelection] = !f[MenuSelection];
}
}
And then i wrote a little function to add items to the menu-
Code:
void addopt(int y,bool *var, char *txt,LPDIRECT3DDEVICE9 pDevice)
{

	if(*var)
	{
		DrawText(31,y,Green,txt,pDevice);
		DrawText(260,y,Green,"On",pDevice);
	}
	else
	{
		DrawText(31,y,Red,txt ,pDevice);
		DrawText(258,y,Green,"Off",pDevice);
	}
You'll have to figure out the rest. If you cant, then you shouldn't be making a hack.


He can't even add a sleep statement. How the fAk is he suppose to know what to do with that! LOL
Quote Originally Posted by NOOBJr View Post




He can't even add a sleep statement. How the fAk is he suppose to know what to do with that! LOL
It's pretty much a copy paste job I think. At least to me it would be.
i know how to add sleep.... i have another problem... i thought it had to do with that but no...
YOU GUYS ALWAYS FLAME PEOPLE HERE

YOU SHOULD BE FLAMING THEM FOR POSTING IN THE WRONG SECTION

/MOVED

I HAVE TO MOVE LIKE 3 THREADS A DAY HERE.. THIS IS BULLSHIT.
my bad
Quote Originally Posted by AVGN View Post
YOU GUYS ALWAYS FLAME PEOPLE HERE

YOU SHOULD BE FLAMING THEM FOR POSTING IN THE WRONG SECTION

/MOVED

I HAVE TO MOVE LIKE 3 THREADS A DAY HERE.. THIS IS BULLSHIT.
im sorry... ill post any questions from now on here...
Quote Originally Posted by AVGN View Post
YOU GUYS ALWAYS FLAME PEOPLE HERE

YOU SHOULD BE FLAMING THEM FOR POSTING IN THE WRONG SECTION

/MOVED

I HAVE TO MOVE LIKE 3 THREADS A DAY HERE.. THIS IS BULLSHIT.
Posts 113 of 13 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Need help?