# SolvedNeed help understanding BYTE in Fleep's Trainer tutorial.

Status
Not open for further replies.

#### __Steven

##### Newbie
Silenced
Dank Tier Donator
I don't understand why Fleep selected the value of hexadecimals in the following code.
C++:
``````//AMMO VARS
bool AmmoStatus;
BYTE AmmoValue[] = {0xA3, 0x1C, 0x0, 0x0};``````
^^^
I don't understand why he chose 0xA3 and 0x1C. I do have some knowledge in C++. I just recently got back into C++ programming. I was working with VB.NET for Non-Game Hacking purposes XD. Sorry if this is a dumb question .

#### NTvalk

##### Hacker
Meme Tier VIP
It are probably machine instructions, did you watch the video?

#### Nether

##### The Angel Of Verdun
Meme Tier VIP
Dank Tier Donator
I don't understand why Fleep selected the value of hexadecimals in the following code.
C++:
``````//AMMO VARS
bool AmmoStatus;
BYTE AmmoValue[] = {0xA3, 0x1C, 0x0, 0x0};``````
^^^
I don't understand why he chose 0xA3 and 0x1C. I do have some knowledge in C++. I just recently got back into C++ programming. I was working with VB.NET for Non-Game Hacking purposes XD. Sorry if this is a dumb question .
well those bytes signify 7331.1337 in 4 bytes (Integer) depending on how you use it

Last edited:

#### __Steven

##### Newbie
Silenced
Dank Tier Donator
It are probably machine instructions, did you watch the video?
Yes I did. Apparently it's a 4 byte Integer that is 7331,1337. I went to a hexadecimal calculator and I didn't get those results.

#### Nether

##### The Angel Of Verdun
Meme Tier VIP
Dank Tier Donator
Yes I did. Apparently it's a 4 byte Integer that is 7331,1337. I went to a hexadecimal calculator and I didn't get those results.
that's because its a byte array, not one giant byte.

Go into CE get an address, change its value to 1337 (4 bytes mind you).

then change it from 4 bytes to byte array and show as hexadecimal and you will see.

#### __Steven

##### Newbie
Silenced
Dank Tier Donator
that's because its a byte array, not one giant byte.

Go into CE get an address, change its value to 1337 (4 bytes mind you).

then change it from 4 bytes to byte array and show as hexadecimal and you will see.
Thank you so much that clarified everything thanks and sorry for the trouble.

#### Nether

##### The Angel Of Verdun
Meme Tier VIP
Dank Tier Donator
Thank you so much that clarified everything thanks and sorry for the trouble.
no worries, its what were here for to learn and teach

Status
Not open for further replies.
Attention! Before you post:

99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

• Fill out the form correctly
• Tell us the game name & coding language