*HELP*How I can add player class
#5

Код:
public OnPlayerRequestClass(playerid,classid)
{
  if(classid == 3 && !IsPlayerAdmin(playerid))
  {
    SendClientMessage(playerid,COLOR_GREEN,"This skin is only for admins!");
    return 0;
  }
  return 1;
}
playerid ID of the player who entered class selection.

classid The ID of the current class being viewed, classids are assigned when AddPlayerClasshttps://sampwiki.blast.hk/wiki/AddPlayerClass is used, and is also returned by it.

me I need Classid the ID
Reply


Messages In This Thread
*HELP*How I can add player class - by waim - 07.12.2009, 22:03
Re: *HELP*How I can add player class - by Goobiiify - 07.12.2009, 22:22
Re: *HELP*How I can add player class - by waim - 07.12.2009, 22:26
Re: *HELP*How I can add player class - by Goobiiify - 07.12.2009, 22:29
Re: *HELP*How I can add player class - by waim - 07.12.2009, 22:34
Re: *HELP*How I can add player class - by waim - 08.12.2009, 04:50
Re: *HELP*How I can add player class - by Emmet_ - 08.12.2009, 06:13

Forum Jump:


Users browsing this thread: 4 Guest(s)