You got me confused now, what do you mean by "where is the skin id??", choose a skin you want to be only for members and for example with a setskin command do something like this:
PHP код:
CMD:setskintome(playerid, params[])
{
new myname[MAX_PLAYER_NAME], skinid, string[128];
if(sscanf(params, "i", skinid)) return SendClientMessage(playerid, -1, "USAGE: /setskintome [SkinID]");
if (skinid > 299 || skinid < 0) return SendClientMessage(playerid, Yellow, "Skin ID's are ranged from 299 to 0");
if(skinid == 200) //200 is just an example! Don't copy and paste this code since it won't work!!
{
if(PlayerInfo[playerid][Member] == 0) return SendClientMessage(playerid, Red, "You have to be a Member to use this skin!");
else
{
SetPlayerSkin(playerid, skinid);
new string[128];
format(string, sizeof(string), "*Member Skin* %s Has set his skin to %s", myname, skinid);
SendClientMessageToAll(lime, string);
PlayerInfo[playerid][pSkin]=skinid;
}
}
GetPlayerName(playerid, myname, MAX_PLAYER_NAME);
SetPlayerSkin(playerid, skinid);
PlayerInfo[playerid][pSkin]=skinid;
format(string, sizeof(string), "%s Has set his skin to %s", myname, skinid);
SendClientMessageToAll(Lime, string);
return 1;
}
I hope you got it.