What a warning :/ Help!
#2

It's this line:

pawn Код:
if(!IsSpawned(playerid)) return false;
You are using the function before it's declared below:

pawn Код:
stock bool:IsPlayerHealthHacker(playerid)
{
    if(!IsPlayerConnected(playerid)) return false;
    if(!IsSpawned(playerid)) return false; // used here
//.........

stock bool:IsSpawned(playerid) // created here
Just move it above the other one like so:

pawn Код:
stock bool:IsSpawned(playerid)
{
//...........
}

stock bool:IsPlayerHealthHacker(playerid)
{
//.........
}
Reply


Messages In This Thread
FIXED: What a warning :/ Help! - by Lorenc_ - 12.07.2010, 10:18
Re: What a warning :/ Help! - by Donny_k - 12.07.2010, 10:26
Re: What a warning :/ Help! - by Lorenc_ - 12.07.2010, 22:11

Forum Jump:


Users browsing this thread: 1 Guest(s)