0xf0rd
Active member
- Joined
- Jun 20, 2014
- Messages
- 68
- Reaction score
- 1
Hello,
I am trying to compile a simple code that has a raknet bit_stream but it can't compile and it says
What is RakNetDefines.txt and why it cant load it and where should I get it from to make the code compile?
Here is the code
I am trying to compile a simple code that has a raknet bit_stream but it can't compile and it says
Code:
Couldn''t load includes/RakNetDefines.txt.
What is RakNetDefines.txt and why it cant load it and where should I get it from to make the code compile?
Here is the code
Code:
{$CLEO .cs}
{$INCLUDE includes/RakNetDefines.txt}
//-------------MAIN---------------
thread "FAKESPEED"
0662: NOP "FAKESPEED"
:SendIncarFakeSpeed
4@ = SAMP.GetSAMPPlayerIDByActorHandle ($ PLAYER_ACTOR)
4@ = SAMP.GetPlayerStruct (@4)
4@ +=201 // local inCarData
0AC8: 5@ = allocate_memory_size 63
0C10: memcpy destination 5@ source 4@ size 63
0C0D: struct 5@ offset 0 size 2 = 3@
0C0D: struct 5@ offset 36 size 4 = 0@
0C0D: struct 5@ offset 40 size 4 = 1@
0C0D: struct 5@ offset 44 size 4 = 2@
0B3D: raknet 6@ = new_bit_stream
0B40: raknet bit_stream 6@ write PACKET_VEHICLE_SYNC type BS_TYPE_BYTE size 1
0B40: raknet bit_stream 6@ write 5@ type BS_TYPE_ARRAY size 63
0B8B: raknet send bit_stream 6@
0B3E: raknet delete_bit_stream 6@
0AC9: free_allocated_memory 5@
0AB2: ret 0