20.12.2010, 08:52
Код:
if(!strcmp(cmd, "/my skin", true)) { myskin = strtok(cmdtext, idx); if (!strlen(myskin)){ return 1; } if ((strval(myskin) < 0) || (strval(myskin) > 299) || IsInvalidSkin(strval(myskin))) return SendClientMessage(playerid, COLOR_BRIGHTRED, "Invalid Skin"); SetPlayerSkin(playerid, strval(myskin)); skin[playerid] = 1; return 1; }C:\Documents and Settings\Administrateur\Bureau\SaR\gamemodes\Test2.pwn(1367) : error 017: undefined symbol "IsInvalidSkin"