19.04.2012, 10:54
Not sure but i follow some AntiCheat Expert Hint
Setting the player health to 99 is one of good idea
but the problem is yeah i remove the vending machine
how about my food system? should i remove the food system?
or if player has health 99 i will set their health to current one to avoid the
health hack detection?
and here is last question:
i need help with this i get a warning called 'Tag Mismatch'
Setting the player health to 99 is one of good idea
but the problem is yeah i remove the vending machine
how about my food system? should i remove the food system?
or if player has health 99 i will set their health to current one to avoid the
health hack detection?
and here is last question:
i need help with this i get a warning called 'Tag Mismatch'
pawn Код:
CMD:changepass(playerid, params[])
{
new newpass[50];
new oldpass = pInfo[playerid][Pass];
new INI:file = INI_Open(PlayerPath(playerid));
if(sscanf(params, "ss[50]", oldpass, newpass)) return SendClientMessage(playerid, COLOR_GREY, "SYNTAX: /changepass [oldpass] [newpass]");
if(strval(pInfo[playerid][Pass]) < 0) return SendClientMessage(playerid, COLOR_GREY, "Don't leave the line called 'oldpass' blank!");
if(strval(newpass) < 0) return SendClientMessage(playerid, COLOR_GREY, "Don't leave the line called 'newpass' blank!");
if(!oldpass == pInfo[playerid][Pass]) return SendClientMessage(playerid, COLOR_GREY, "That is not your oldpassword!");
INI_WriteInt(file, "Pass", udb_hash(newpass));
INI_Close(file);
return 1;
}