CLEO Help Tp from sobeit

CLEO related
Status
Not open for further replies.

Fr0z3n

Well-known member
Joined
Nov 20, 2019
Messages
301
Reaction score
36
Location
Srbija
Hi, i saw teleport with scrol from s0beit and i want that insert from sobeit anyone have it?
 

_Safa

Well-known member
Joined
Sep 22, 2019
Messages
297
Reaction score
103
Location
UGBASE
You mean that teleport-mode activates via MOUSE3 (Scroll) and you can click MOUSE3 again when you point your cursor to the location you want to teleport to?
 

_Safa

Well-known member
Joined
Sep 22, 2019
Messages
297
Reaction score
103
Location
UGBASE
If that's what you mean, you can do it like this (logic not included) :

1. 0AB0: 0x04 (not sure if mouse3)
2. -> Enable SA:MP Cursor (via SF opcode or patch it via memory)
3. (additional) -> Draw the meters / distance under the cursor so you know the distance where you wanna teleport:
Pos: (cursor.x & cursor.y - 5-10)
4. IF 0AB0: 0x04 again (once you press it again to confirm teleport) -> get the current cursor_pos and convert it from 2D / pixels to 3D World.
5. Put actor at 3D World saved variables X Y Z.
6. -> Disable Cursor

Have fun lol.
 
Status
Not open for further replies.
Top