04.10.2010, 01:59
Quote:
That functions doesn't have classid you smart ass.
You return 0 in OPRC to disallow them to spawn. |
You could easily do this with a var.
I.e:
pawn Код:
//Global var.
new SkinPass[MAX_PLAYERS] = 0;
new SkinProtected = {
{skin ids}
};
public OPRC(playerid, classid)
{
if(SkinPass[playerid] == 0 && classid == SkinProtected)
{
return 0;
}
else
{
return 1;
}
return 0;
}