CJ Skin complete remove?
#1

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?
Reply
#2

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
Reply
#3

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
Reply
#4

Thx Guys.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)