[Help] /hhcheck
#3

Quote:
Originally Posted by Jack_Leslie
Посмотреть сообщение
Change:
pawn Код:
format(string, sizeof(string), "%s was just Health Hack Checked. Health before check: %s. Health after check: %s", GetName(playerid), GetPlayerHealth(playerid, healthbeforecheck), GetPlayerHealth(playerid, healthaftercheck));
To:
pawn Код:
format(string, sizeof(string), "%s was just Health Hack Checked. Health before check: %s. Health after check: %s", GetName(playerid),  healthbeforecheck, healthaftercheck);
You are already getting the players health before the string, once you get it and store it into the variable, you just use the variable, you don't need to 're-get it' until it changes (or obviously in another command). In regards to setting the position to 0, 0, 0, try setting it to an unused area or interior, instead of 0 0 0.
Same problem, just now it cuts off after saying "Health before check:"
Reply


Messages In This Thread
[Help] Strings - by BornHuman - 05.06.2014, 23:44
Re: [Help] /hhcheck - by Jack_Leslie - 06.06.2014, 03:22
Re: [Help] /hhcheck - by BornHuman - 06.06.2014, 03:44

Forum Jump:


Users browsing this thread: 1 Guest(s)