01.01.2010, 14:25
OnPlayerRequestClass
that'll do the job, untested and I don't know if it works.
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
if(classid == 287 && CanUseArmy[playerid] == 0)
{
SendClientMessage(playerid,COLOR_YELLOW,"You can't use the army skin.");
return 0;
}