i did something like that, it's not working (crashing me)
http://pastebin.com/pKZbxJM0
i wanted to change something in handling
then
CPed +0x42 = [byte] Is the BP/EP/FP/DP (special flags) status of the player as follows:
Bit 1 = makes ped soft (ie. can move through walls and everything) (noclip in other words)
Bit 2 = freezes ped (ie. ped cannot walk)
Bit 3 = bullet-proof
Bit 4 = flame-proof
Bit 5 = collision-proof
Bit 6 = MP-proof (MP)
Bit 7 = ?
Bit 8 = explosion-proof
here
how do i change value to 1 in bit3/4? how?
im reading memory of cped, then add and then what i need to do? lol
its a byte so wtf is goin on nigga
or this from cvechil
+66 = [byte] Is the BP/EP/DP/DP (Special Flags) status of the car as follows:
Add these values, and write the sum into +66
1 = n/a
2 = n/a
4 = bullet-proof
8 = fire-proof
16 = damage-proof (from collisions etc)
32 = n/a
64 = n/a
128 = explosion-proof
http://pastebin.com/pKZbxJM0
i wanted to change something in handling
then
CPed +0x42 = [byte] Is the BP/EP/FP/DP (special flags) status of the player as follows:
Bit 1 = makes ped soft (ie. can move through walls and everything) (noclip in other words)
Bit 2 = freezes ped (ie. ped cannot walk)
Bit 3 = bullet-proof
Bit 4 = flame-proof
Bit 5 = collision-proof
Bit 6 = MP-proof (MP)
Bit 7 = ?
Bit 8 = explosion-proof
here
how do i change value to 1 in bit3/4? how?
im reading memory of cped, then add and then what i need to do? lol
its a byte so wtf is goin on nigga
or this from cvechil
+66 = [byte] Is the BP/EP/DP/DP (Special Flags) status of the car as follows:
Add these values, and write the sum into +66
1 = n/a
2 = n/a
4 = bullet-proof
8 = fire-proof
16 = damage-proof (from collisions etc)
32 = n/a
64 = n/a
128 = explosion-proof