08.11.2012, 16:59
Quote:
|
D:\Server\gamemodes\gs.pwn(165 : error 017: undefined symbol "IsInvalidSkin"Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |
|
D:\Server\gamemodes\gs.pwn(165 : error 017: undefined symbol "IsInvalidSkin"Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |
//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)