[SNIPPET] Teleport without Reset

With this you can teleport a player without resetting his velocity .etc.

0AB1: [member=31703]teleport[/member] 4 ACTOR $PLAYER_ACTOR TO 0.0 0.0 0.0 WITHOUT RESET



:TELEPORT
0A96: 4@ = actor 0@ struct
4@ += 20
0A8D: 4@ = read_memory 4@ size 4 virtual_protect 0
4@ += 48 // X
0A8C: write_memory 4@ size 4 value 1@ virtual_protect 0 // X
4@ += 4 // Y
0A8C: write_memory 4@ size 4 value 2@ virtual_protect 0 // Y
4@ += 4 // Z
0A8C: write_memory 4@ size 4 value 3@ virtual_protect 0 // Z
ret 0
 
Top