Error
#2

This error means that you have not made the "IsInvalidSkin"
You can make it like this:
Код:
//At the top of the script
new validskin[MAX_PLAYERS];
//public OnPlayerSpawn
if(GetPlayerSkin(playerid) == "invalidskinid")
{
    validskin[playerid] = 0;
}
else
{
    validskin[playerid] = 1;
}
//then where you need to check if the skin is valid
if(validskin[playerid] == 1)//it is valid
//or
if(validskin[playerid] == 0)
Reply


Messages In This Thread
Error - by Morkano - 08.11.2012, 16:59
Re: Error - by arvifilter - 08.11.2012, 17:10

Forum Jump:


Users browsing this thread: 1 Guest(s)