[SNIPPET] SendInCarPosSync

call @SendInCarPosSync 3 1@ 2@ 3@

:SendInCarPosSync               
3@ = SAMP.GetSAMPPlayerIDByActorHandle($PLAYER_ACTOR)
3@ = SAMP.GetPlayerStruct(3@)
3@ += 170
0AC8: 4@ = allocate_memory_size 63
0C10: memcpy destination 4@ source 3@ size 63
0C0D: struct 4@ offset 24 size 4 = 0@
0C0D: struct 4@ offset 28 size 4 = 1@
0C0D: struct 4@ offset 32 size 4 = 2@
0B3D: raknet 5@ = new_bit_stream
RakNet.Write(5@, 200, BS_TYPE_BYTE, 1)
RakNet.Write(5@, 4@, BS_TYPE_ARRAY, 63)
0B8B: raknet send bit_stream 5@               
0B3E: raknet delete_bit_stream 5@
0AC9: 4@
0AB2: ret 0

This will send your desirable in car position, making server believe that you're actually there without being there o_O  :trollface:

Thanks to [member=111]springfield[/member] for updating the offsets.
 

lol7

Active member
Joined
Apr 3, 2013
Messages
120
Reaction score
1
Location
Blumenau, Santa Catarina, Brasil
Re: SendInCarPosSync

This will send your desirable in car position, making server believe that you're actually there without being there o_O  :trollface:

Just a brief question: Will the sent fake postion last for just a short period of time?
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
Re: SendInCarPosSync

lol7 link said:
Just a brief question: Will the sent fake postion last for just a short period of time?

Real pos is being sent at every ms, when you send fake pos too, two positions will be sent, so rapid teleportation will appear to the server and the players, if you only want to send fake pos, disable sending incar data sync, then send fake pos.
 
Top