13.05.2010, 17:27 
	
	
	Quote:
| 
 
					Originally Posted by juice.j  
Alright,  
you can pretty much use the example as it is, however you change this line here: Код: 
if(classid == 3 && !IsPlayerAdmin(playerid)) Код: 
new cmpstr[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); if(classid == 5 && strcmp(name,"Jay",false)) //classid == 5 as you want to reserve the fifth classid Код: 
public OnPlayerRequestClass(playerid,classid)
{
  new cmpstr[MAX_PLAYER_NAME];
  GetPlayerName(playerid, name, sizeof(name));
  if(classid == 5 && strcmp(name,"Jay",false))
  {
    SendClientMessage(playerid,COLOR_GREEN,"This skin is only for admins!");
    return 0;
  }
  return 1;
}
 | 
Then are tell you if it complied succesfully.

