SA-MP Forums Archive
if playerskin - 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: if playerskin (/showthread.php?tid=429365)



if playerskin - NicholasA - 09.04.2013

How do I make an if statement to check if the player has got a certain skin?


Re: if playerskin - Universal - 09.04.2013

pawn Код:
if (GetPlayerSkin(playerid) == skin_id) {
     // Yes, he does
} else {
    // No, he doesnt
}