12.07.2010, 10:26
It's this line:
You are using the function before it's declared below:
Just move it above the other one like so:
pawn Код:
if(!IsSpawned(playerid)) return false;
pawn Код:
stock bool:IsPlayerHealthHacker(playerid)
{
if(!IsPlayerConnected(playerid)) return false;
if(!IsSpawned(playerid)) return false; // used here
//.........
stock bool:IsSpawned(playerid) // created here
pawn Код:
stock bool:IsSpawned(playerid)
{
//...........
}
stock bool:IsPlayerHealthHacker(playerid)
{
//.........
}