Posts: 1,409
Threads: 376
Joined: Apr 2012
Reputation:
0
HI Guys, i have it now make that CJ SKin is forbidden (skin 0) but Players can make -1, -2, -3 and other and then he get CJ Skin, how can i the CJ Skin complete forbidden?
Posts: 1,219
Threads: 51
Joined: Jul 2012
SetPlayerSkin(playerid,SkinID);
Put it on player spawn or wherever you want it
For complete remove
Код HTML:
public OnPlayerUpdate(playerid)
{
if(GetPlayerSkin(playerid) == 0)
{
SetPlayerSkin(playerid,Id of the Skin you want);
}
return 1;
}
Skin IDS:
https://sampwiki.blast.hk/wiki/Skins:All
Posts: 1,938
Threads: 16
Joined: Feb 2007
Reputation:
0
Completely remove and completely forbidden are two different things.
Completely removing is just remove every AddPlayerClass with the skinid 0.
Completely forbidden is return 0 in OnPlayerRequestSpawn if the skinid = 0