Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C 

c++ D3D9 try to add hacks to items

i want to make menu with hacks
but i stack.

this is my right now way to do this but i cant make else in the command i mean like that:

void active() {
if (Items[0].on_off)
{
*(DWORD*)0x763F5F = 1;
}
}

and i want something like that :

if (Items[0].on_off)
{
*(DWORD*)0x763F5F = 1;
else
*(DWORD*)0x763F5F = 0;
}
}

btw im new in c++, so i hope to learn something and get the fix :D
(Aug 8, 2018 08:24 AM)lol3771 Wrote:  i want to make menu with hacks
but i stack.

this is my right now way to do this but i cant make else in the command i mean like that:

Your bracket placement is wrong. should be
Code
void active() {
if (Items[0].on_off)
{
*(DWORD*)0x763F5F = 1;
} ///notice this bracket ends the if statement
else
{
*(DWORD*)0x763F5F = 0;
} // this bracket ends the else statement
}
[Image: 5Iq5rDJ.gif]

winapi, and winsock programmer

(Aug 8, 2018 09:12 AM)aeiro Wrote:  Your bracket placement is wrong. should be
Code
void active() {
if (Items[0].on_off)
{
*(DWORD*)0x763F5F = 1;
} ///notice this bracket ends the if statement
else
{
*(DWORD*)0x763F5F = 0;
} // this bracket ends the else statement
}

Thx, ill try it


(Aug 8, 2018 09:12 AM)aeiro Wrote:  Your bracket placement is wrong. should be
Code
void active() {
if (Items[0].on_off)
{
*(DWORD*)0x763F5F = 1;
} ///notice this bracket ends the if statement
else
{
*(DWORD*)0x763F5F = 0;
} // this bracket ends the else statement
}
yea thx its helped to me :D
+Rep To You aeiro
i do:
Code
void active() {
if (Items[0].on_off) {
{
*(DWORD*)0x763F5F = 1;
}
}
else
{
*(DWORD*)0x763F5F = 0;
}
}


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by fisica638Oct 29, 2023 01:02 PM 10 398 Oct 29, 2023 01:02 PM
Last Post: fisica638
[C#] by RhinemannJul 21, 2018 06:02 AM 5 181 Jul 21, 2018 06:02 AM
Last Post: Rhinemann
[.NET] by Johan CruyffJun 14, 2017 09:41 AM 5 206 Jun 14, 2017 09:41 AM
Last Post: Johan Cruyff