SCAN PLAYERS FOR MODS
So since alot of people have asked me how to scan players
for mods without sockstress's plugin and/or equivalent.
This is how I do it and works on most people. I chose common
protections to target. This 100% works and I use it in my menu Glitchinng.
What this does is first check for a modified player model, then checks for grouphack
protection, then sets them on fire and checks for fire protection. Prints feedback
Code:
Ped networkPlayerPedModel;
GET_CHAR_MODEL(networkPlayerPed, &networkPlayerPedModel);
if (networkPlayerPedModel != PED_M_Y_MULTIPLAYER && networkPlayerPedModel != PED_F_Y_MULTIPLAYER){
print("~BLIP_76~ ~y~Player Model Changed ~g~Player is a Modder");
ModderFound = true;
return;
}
int charammo, ammomax, gund;
if(IS_PED_IN_GROUP(networkPlayerPed)){
print("~BLIP_76~ ~y~Player is in a group ~g~Player is a modder");
ModderFound = true;
}
START_CHAR_FIRE(networkPlayerPed);
WAIT(2000);
if(!IS_CHAR_ON_FIRE(networkPlayerPed)){
START_CHAR_FIRE(networkPlayerPed);
WAIT(1200);
if(!IS_CHAR_ON_FIRE(networkPlayerPed)){
print("~BLIP_76~ ~y~Fire Protection ~g~Player is a modder");
ModderFound = true;
}
}
if(!ModderFound) print("~BLIP_76~ ~r~Player doesn't have mods");
WAIT(1000);
ModderFound = false;