What a warning :/ Help!
#1

Fixed xD
Reply
#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
#3

Yes i know, soz my net got fucked and i was supose to edit the topic and say i fixed it. Thanks anyway :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)