ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 2206

How check player god mode

by MrSpavn - 12-22-2018 - 08:53 PM
#1
i need check online player have he god or not how make this?
Reply
#2
is_entity_invincible
_asm
Reply
#3
(12-22-2018 - 09:22 PM)SinceModz Wrote: is_entity_invincible

i haven't this native Tear
Reply
#4
(12-22-2018 - 08:53 PM)MrSpavn Wrote: i need check online player have he god or not how make this?

try use get entity address...
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Reply
#5
Get the signature of the native then...
TruthFTW#6516
Reply
#6
use this get_player_invincible // C11BDE184F74FF98
_asm
Reply
#7
is_entity_invincible
This account is currently banned
Ban reason: Leeching and Spamming
Reply
#8
BOOL GET_PLAYER_INVINCIBLE(Player player) // B721981B2B939E07 680C90EE
Returns the Player's Invincible status.

This function will always return false if 0x733A643B5B0C53C1 is used to set the invincibility status. To always get the correct result, use this:

bool IsPlayerInvincible(Player player)
{
auto addr = getScriptHandleBaseAddress(GET_PLAYER_PED(player));

if (addr)
{
DWORD flag = *(DWORD *)(addr + 0x188);
return ((flag & (1 << 8)) != 0) || ((flag & (1 << 9)) != 0);
}

return false;
}
Reply
#9
goood thankssssssssss
Reply
#10
is_entity_invincible
Reply

Users browsing: 2 Guest(s)