[SNIPPET] SendUnOccupiedVehicleSync

call @SendUnOccupiedVehicleSync 4 1@ 2@ 3@ 4@  // 1@ = vehicleid
                                                                                                        // 2@, 3@,  4@ = victim's coords

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

Useful for making troll hacks with vehicles  :youdontsay:
 

Spix

Well-known member
Joined
Sep 23, 2013
Messages
353
Reaction score
1
Re: SendUnOccupiedVehicleSync

0B36 link said:
call @SendUnOccupiedVehicleSync 4 1@ 2@ 3@ 4@  // 1@ = vehicleid
                                                                                                        // 2@, 3@,  4@ = victim's coords

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

Useful for making troll hacks with vehicles  :youdontsay:


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

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
"vehicle id" is a typo, it should be vehicle handle rather, otherwise you will crash instantly.
 
Top