07.03.2015, 14:15
Do it under OnPlayerRequestSpawn callback
PHP код:
public OnPlayerRequestSpawn(playerid)
{
if(GetPlayerSkin(playerid)==//Donator's skin id)
{
if(PlayerInfo[playerid][Level]<2)
{
SendClientMessage(playerid, -1, "You must be level 2 or above to select this class.");
return 0;
}
}
return 1;
}