How to check? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to check? (
/showthread.php?tid=186294)
How to check? -
Gh0sT_ - 28.10.2010
Hey everyone, is this possible? How can i check, that player skin is CJ? ( I know, skin ID 0, but there are a lot of CJ skins(like 86, etc)?Because, when i update someone's .ini file, and close it - then skin changing to CJ.
Re: How to check? -
Steven82 - 28.10.2010
pawn Код:
if(GetPlayerSkin(playerid); == 0))
{
// Your code
}
That is a very rough example, but im in a hurry to get to school sorry
**News**:
1000th post!
Re: How to check? -
Sascha - 28.10.2010
and also it is wrong steven
pawn Код:
if(GetPlayerSkin(playerid) == 0){
//Add what you wanne do
}
there shouldn't be any ";" behind the GetPlayerSkin, otherwise it won't work..