Gamemode script errors.
#4

Instead of simply feeding the guy a working piece of code and waiting until he returns with a similar problem, why not explain what the issues are about in the first place?

About warning 217: click and READ it
About warning 209: the code that would cause such warning is:
pawn Код:
public OnPlayerConnect(playerid)
{
    if(something == true)
    {
        return false;
    }
    // continue code here
}
To fix it, you need to add a return...
pawn Код:
public OnPlayerConnect(playerid)
{
    if(something == true)
    {
        return false;
    }
    // continue code here
    return true;
}
Reply


Messages In This Thread
Gamemode script errors. - by Defence1771 - 16.03.2012, 13:15
Re: Gamemode script errors. - by Faisal_khan - 16.03.2012, 13:20
Re: Gamemode script errors. - by Twisted_Insane - 16.03.2012, 13:21
Re: Gamemode script errors. - by AndreT - 16.03.2012, 13:26
Re: Gamemode script errors. - by Defence1771 - 16.03.2012, 13:43
Re: Gamemode script errors. - by Defence1771 - 16.03.2012, 13:47
Re: Gamemode script errors. - by Faisal_khan - 16.03.2012, 14:16
Re: Gamemode script errors. - by Defence1771 - 16.03.2012, 14:22
Re: Gamemode script errors. - by Faisal_khan - 16.03.2012, 14:24
Re: Gamemode script errors. - by Issam - 16.03.2012, 14:28

Forum Jump:


Users browsing this thread: 3 Guest(s)