This topic has been [SOLVED]
#9

Quote:
Originally Posted by juice.j
Hang on I pasted it a bit in a rush, there are some errors, use the edited one here:

Код:
public OnPlayerRequestClass(playerid,classid)
{
  new cmpstr[MAX_PLAYER_NAME];
  GetPlayerName(playerid, cmpstr, sizeof(cmpstr));
  if(classid == 5 && strcmp(cmpstr,"Jay",false))
  {
    SendClientMessage(playerid,COLOR_GREEN,"This skin is only for Jay!");
    return 0;
  }
  return 1;
}

Aha, So thats why i had errors are try this now ty.
Reply


Messages In This Thread
This topic has been [SOLVED] - by Jay. - 13.05.2010, 17:13
Re: How to lock a skin for a certain "Playername" - by juice.j - 13.05.2010, 17:16
Re: How to lock a skin for a certain "Playername" - by Killa_ - 13.05.2010, 17:20
Re: How to lock a skin for a certain "Playername" - by Jay. - 13.05.2010, 17:21
Re: How to lock a skin for a certain "Playername" - by Jay. - 13.05.2010, 17:25
Re: How to lock a skin for a certain "Playername" - by juice.j - 13.05.2010, 17:26
Re: How to lock a skin for a certain "Playername" - by Jay. - 13.05.2010, 17:27
Re: How to lock a skin for a certain "Playername" - by juice.j - 13.05.2010, 17:28
Re: How to lock a skin for a certain "Playername" - by Jay. - 13.05.2010, 17:36
Re: How to lock a skin for a certain "Playername" - by Jay. - 13.05.2010, 17:42

Forum Jump:


Users browsing this thread: 1 Guest(s)