[SNIPPET] SendUnOccupiedVehicleSync

0B36

Well-Known Member
Joined
Jan 6, 2014
Messages
1,331
Likes
0
Points
36
#1
call @SendUnOccupiedVehicleSync 4 [email protected] [email protected] [email protected] [email protected]  // [email protected] = vehicleid
                                                                                                        // [email protected], [email protected][email protected] = victim's coords

Code:
:SendUnOccupiedVehicleSync
[email protected] = SAMP.GetSAMPVehicleIDByCarHandle([email protected])
Car.PutAt([email protected], [email protected], [email protected], [email protected])
alloc [email protected] 67 
0C0D: struct [email protected] offset 0 size 2 = [email protected] 
0C0D: struct [email protected] offset 2 size 1 = 1 
0C0D: struct [email protected] offset 3 size 4 = -1.0 
0C0D: struct [email protected] offset 7 size 4 = -0.01 
0C0D: struct [email protected] offset 11 size 4 = 0.05 
0C0D: struct [email protected] offset 15 size 4 = 0.09 
0C0D: struct [email protected] offset 19 size 4 = -1.0 
0C0D: struct [email protected] offset 23 size 4 = 0.02 
0C0D: struct [email protected] offset 27 size 4 = [email protected] 
0C0D: struct [email protected] offset 31 size 4 = [email protected] 
0C0D: struct [email protected] offset 35 size 4 = [email protected] 
0C0D: struct [email protected] offset 39 size 4 = 0.0 
0C0D: struct [email protected] offset 43 size 4 = 0.0 
0C0D: struct [email protected] offset 47 size 4 = 400.0 
0C0D: struct [email protected] offset 51 size 4 = 0.0 
0C0D: struct [email protected] offset 55 size 4 = 0.0 
0C0D: struct [email protected] offset 59 size 4 = 0.0 
0C0D: struct [email protected] offset 63 size 4 = 1000.0 
[email protected] = RakNet.NewBitStream()
BitStream.Write([email protected], 209, BS_TYPE_BYTE, 1)
BitStream.Write([email protected], [email protected], BS_TYPE_ARRAY, 67)
RakNet.LiteSend([email protected])
RakNet.DeleteBitStream([email protected])
free [email protected] 
ret 0
Useful for making troll hacks with vehicles  :youdontsay:
 

Spix

Well-Known Member
Joined
Sep 23, 2013
Messages
353
Likes
0
Points
16
#2
Re: SendUnOccupiedVehicleSync

0B36 link said:
call @SendUnOccupiedVehicleSync 4 [email protected] [email protected] [email protected] [email protected]  // [email protected] = vehicleid
                                                                                                        // [email protected], [email protected][email protected] = victim's coords

Code:
:SendUnOccupiedVehicleSync
[email protected] = SAMP.GetSAMPVehicleIDByCarHandle([email protected])
Car.PutAt([email protected], [email protected], [email protected], [email protected])
alloc [email protected] 67 
0C0D: struct [email protected] offset 0 size 2 = [email protected] 
0C0D: struct [email protected] offset 2 size 1 = 1 
0C0D: struct [email protected] offset 3 size 4 = -1.0 
0C0D: struct [email protected] offset 7 size 4 = -0.01 
0C0D: struct [email protected] offset 11 size 4 = 0.05 
0C0D: struct [email protected] offset 15 size 4 = 0.09 
0C0D: struct [email protected] offset 19 size 4 = -1.0 
0C0D: struct [email protected] offset 23 size 4 = 0.02 
0C0D: struct [email protected] offset 27 size 4 = [email protected] 
0C0D: struct [email protected] offset 31 size 4 = [email protected] 
0C0D: struct [email protected] offset 35 size 4 = [email protected] 
0C0D: struct [email protected] offset 39 size 4 = 0.0 
0C0D: struct [email protected] offset 43 size 4 = 0.0 
0C0D: struct [email protected] offset 47 size 4 = 400.0 
0C0D: struct [email protected] offset 51 size 4 = 0.0 
0C0D: struct [email protected] offset 55 size 4 = 0.0 
0C0D: struct [email protected] offset 59 size 4 = 0.0 
0C0D: struct [email protected] offset 63 size 4 = 1000.0 
[email protected] = RakNet.NewBitStream()
BitStream.Write([email protected], 209, BS_TYPE_BYTE, 1)
BitStream.Write([email protected], [email protected], BS_TYPE_ARRAY, 67)
RakNet.LiteSend([email protected])
RakNet.DeleteBitStream([email protected])
free [email protected] 
ret 0
Useful for making troll hacks with vehicles  :youdontsay:

So where did you find this? [member=8182]0B36[/member]
 
OP
OP
0

0B36

Well-Known Member
Joined
Jan 6, 2014
Messages
1,331
Likes
0
Points
36
#3
"vehicle id" is a typo, it should be vehicle handle rather, otherwise you will crash instantly.
 
Top