CLEO Help memorinio writerinio

CLEO related
Status
Not open for further replies.

rein

Member
Joined
Jan 3, 2016
Messages
17
Reaction score
0
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
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
08B4:  test 0@ bit 1
08BA:  set 0@ bit 1

you can get the CVehicle pointer with
Code:
0AEB: $car = car_struct $vehicle_struct handle
 

rein

Member
Joined
Jan 3, 2016
Messages
17
Reaction score
0
thank you.
btw
what size do DWORD have? ;p  :imoverit:

aye
and btw it:
+0x0 = [dword] Index/Identifier (CAR)
how to get index/id of car? xd


omg i dont fucking get it i cant learn anything there is not easy tutorial for it rly? its imposibel
 
Status
Not open for further replies.
Top