code problems

Posts 1–8 of 8 · Page 1 of 1
code problems
Hi everyone, it's me again, I made a little no menu for personal purpose, but I cannot get some functions to work, like stamina and spawn.
I have 5 addys for stamina, the first works but makes the screen lights up whenever someone shoots with their weapon. (it's annoying) So I removed it. Then I'd like to get fast spawn to work, I have only one addy, nothing like nospawnwait1 and nospawnwait2, just nospawnwait.

The code I'm using:
Code:
void stamina ()
{
*(float*)Unli_Stamina = 9999999999;
}


void nospawn ()
{
*(int*)(Addr_NoSpawn1) = 0;
}
i suggest to void them all
Like this
Code:
void all()
{
*(float*)ADR_UnlimitedSP = 1000000;
*(int*)Addr_NoSpawn1 = 0;
}
For Warrock Eu

Code:
#define ADR_NOSPAWNWAIT1     0xC6A614
#define ADR_NOSPAWNWAIT2     0xC6A618
#define ADR_NOSPAWNWAIT3     0xC6A61C
Quote Originally Posted by DaneCoder View Post
For Warrock Eu

Code:
#define ADR_NOSPAWNWAIT1     0xC6A614
#define ADR_NOSPAWNWAIT2     0xC6A618
#define ADR_NOSPAWNWAIT3     0xC6A61C
Nice Dane
Thank you both for the quick answers!

killallbosz yea that's more organized but it change nothing..

danecoder I appreciate very much your share, but it's for a private server..I don't think they'll work
Quote Originally Posted by Jonix View Post
Thank you both for the quick answers!

killallbosz yea that's more organized but it change nothing..

danecoder I appreciate very much your share, but it's for a private server..I don't think they'll work
Nyahaha I'm not PRO sarreyy!
nevermind I got it working. No spawn works good after first death, I need to work on it. Stamina works now, but when I shoot the floor lights up, at least not everything, so it's playable.

code if someone needs
Code:
void stamina () //stamina
{
DWORD dwPlayerPtr = *(DWORD*)Addr_Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)Stamina1 = 1000;
*(double*)Stamina2 = 1000;
*(double*)Stamina3 = 0;
*(float*)Stamina4 = 0;
}
}


void nospawn () //No Spawn
{
*(int*)ADR_NOSPAWNWAIT1 = 0;
}
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us