[REQ] Compile .CS

Статус
В этой теме нельзя размещать новые ответы.

Azaleus

Известный
Автор темы
22
1
call @SendIncarFakeSpeedSync 4 1@ 2@ 3@ 4@ // 1@ 2@ 3@ are the positions and 4@ being the vehicle id

:SendIncarFakeSpeedSync
4@ = SAMP.GetSAMPPlayerIDByActorHandle($PLAYER_ACTOR)
4@ = SAMP.GetPlayerStruct(4@)
4@ += 170
0AC8: 5@ = allocate_memory_size 63
0C10: memcpy destination 5@ source 4@ size 63
0C0D: struct 5@ offset 36 size 4 = 6.0
0C0D: struct 5@ offset 40 size 4 = 6.0 // lower the value if the server has a speed limit on vehicles
0C0D: struct 5@ offset 44 size 4 = 6.0
0B3D: raknet 6@ = new_bit_stream
0B40: raknet bit_stream 6@ write 200 type 0 size 1
0B40: raknet bit_stream 6@ write 5@ type 5 size 63
0B42: raknet send bit_stream 6@ priority 1 reliability 7 ordering_channel 0
0B3E: raknet delete_bit_stream 6@
0AC9: free_allocated_memory 5@
0AB2: ret 0

Can someone compile this in a .CS? It's' a snippet for SendInCarFakeSpeedSync.
 

Chuck

Новичок
1
0
Then is there any other way I can fake send speed? I want to stay inside a car and make KMs to vehicles.
 
Статус
В этой теме нельзя размещать новые ответы.