(07-03-2019 - 12:54 PM)trinity7 Wrote:Code:bool ModderCheck(int player) {
int A_LVL = PLAYER::GET_PLAYER_MAX_ARMOUR(player);
int H_LVL = ENTITY::GET_ENTITY_HEALTH(player);
if (R_G(1582015 + (306 * player)) > 1 || A_LVL > 50 || H_LVL > 328)
return true;
return false;
}
//Place Anywhere (This Checks If The Player's Health/Armour Is Above Standard Threshold & Checks If They Have A Global, Retails Shouldn't (I Don't Think Lol)) (Globals Are Also Set On Player's That Are In Gang Attacks And Other Ingame Activities So Be Mindful When Reading) Should Help :)
Then Call In Your PL - if (ModderCheck(i){ print name etc e.x "Gamertag ~o~[M]" } ;
Wow. Thx. This is great!!!