CJ Skin complete remove? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: CJ Skin complete remove? (
/showthread.php?tid=377244)
CJ Skin complete remove? -
Blackazur - 13.09.2012
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?
AW: CJ Skin complete remove? -
BiosMarcel - 13.09.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
Re: CJ Skin complete remove? -
mamorunl - 13.09.2012
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
AW: CJ Skin complete remove? -
Blackazur - 13.09.2012
Thx Guys.