Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock Float:GetPlayerArmourHack(playerid)
- {
- return Float: armourhack[playerid];
- }
- stock SetPlayerArmourHack(playerid, Float:fArmour)
- {
- SetPlayerArmour(playerid, fArmour);
- armourhack[playerid] = fArmour;
- }
- stock IsArmourHacking(playerid)
- {
- new Float:fArmour;
- if (GetPlayerArmour(playerid,fArmour)>GetPlayerArmourHack(playerid))
- {
- format(string1, sizeof(string1), "[ADMIN] %s (ID: %d) a été banni pour avoir cheaté son armure", initialname[playerid],playerid);
- SendClientMessageToAll(COLOR_INFO, string1);
- return true;
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement