here's my little script. i want to make a cleo script for 0.3.dl without using sampfuncs opcodes.
is there any way to send chat messages without 0AF9: samp say_msg ?
{$CLEO .cs}
0000:
while true
wait 5000
if
key_down 45
then
0AF9: samp say_msg "/engine"
wait 500
end
end
0xB6F5F0 <- thats the local player.
i want to get the hp of the entities (actors).
i tried on local player and im getting good values.
http://prntscr.com/o8v4bu (tested on local player "0xB6F5F0 ")
if im using this "0xB74490 + 0x540" i got weird value such "2.8".
std::uintptr_t...
im using this
CPed + 0x540 = [float] Health
but im getting weird values such player hp = 3.28306e+08
player hp = 3.283e+08
player hp = 3.28304e+08
player hp = 3.28306e+08
player hp = 3.283e+08
player hp = 3.28304e+08
player hp = 3.28306e+08
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.