CSprite said:Parazitas said:CSprite said:1. Name of the mod (if the mod doesn't exist, you don't have to tell one):Red checkpoint teleport and race checkpoint teleport.
2. Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not):it was on kproject
3. What do you want (the most important part, explain this carefully):when you pres 0 you teleport to the red checkpoint and 9 does the same but for the race.
4. Details (add more details to your request):Idk...
5. Need On/off key or command ?:0 and 9
6. Give any picture or video:https://www.youtube.com/watch?v=tg9eNyHTXvo
7. Your client is?:0.3.7 ofc
(i dont want to use kproject because its a multicheat , and i want these two mods.)
Thanks for all , you made so many cleos for all of us , I am thankful even if you ignore me .
You need now?
I can wait. Take you`re time .
PHP:
{$CLEO}
0000:
:CP
wait 0
if or
0AB0: 48
0AB0: 57
then
if
call @is_cp_active 0
then
call @get_cp_pos 0 1@ 2@ 3@
if
044B: $PLAYER_ACTOR
then
call @SendOnFootDataSync 3 1@ 2@ 3@
else
call @SendInCarDataSync 3 1@ 2@ 3@
end
end
end
jump @CP
:is_cp_active
0AA2: 0@ = loadlib "samp.dll"
0A8E: 1@ = 0@ + 0x21A10C
0A8D: 1@ = readMem 1@ sz 4 vp 0
1@ += 0x24
0A8D: 1@ = readMem 1@ sz 4 vp 0
IF 1@ == TRUE
THEN 0485: return_true
ELSE 059A: return_false
END
0AA3: freelib 0@
0AB2: ret 0
:get_cp_pos
0AA2: 0@ = loadlib "samp.dll"
0A8E: 1@ = 0@ + 0x21A10C
0A8D: 1@ = readMem 1@ sz 4 vp 0
1@ += 0xC
0A8D: 2@ = readMem 1@ sz 4 vp 0
1@ += 0x4
0A8D: 3@ = readMem 1@ sz 4 vp 0
1@ += 0x4
0A8D: 4@ = readMem 1@ sz 4 vp 0
0AA3: freelib 0@
0AB2: ret 3 2@ 3@ 4@
:SendOnFootDataSync
0B2B: 3@ = $PLAYER_ACTOR
0BBA: 3@ 4@
alloc 4@ 68
0C0D: 4@ 6 4 = 0@
0C0D: 4@ 10 4 = 1@
0C0D: 4@ 14 4 = 2@
0BC0: 4@
free 4@
ret 0
:SendInCarDataSync
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