If player skin - 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 player skin (
/showthread.php?tid=78024)
If player skin -
Sal_Kings - 16.05.2009
How do i make a command but only the person with a certian skin can use that command or else it will say "Invalid"
Re: If player skin -
Correlli - 16.05.2009
Use if statement and this function:
https://sampwiki.blast.hk/wiki/GetPlayerSkin
Re: If player skin -
member - 16.05.2009
removed, my post was exactly the same as above, not in time lol.
Re: If player skin -
Sal_Kings - 16.05.2009
i dont understand...
Re: If player skin -
pspleo - 16.05.2009
Quote:
Originally Posted by Sal_Kings
i dont understand...
|
Then learn some pawn. Too hard for you?!
Leopard
Re: If player skin -
Correlli - 16.05.2009
pawn Код:
if(GetPlayerSkin(playerid) == SKIN_ID_YOU_WANT_TO_USE)
{
// your code.
}
else
{
// your code.
}
Re: If player skin -
shitbird - 16.05.2009
Quote:
Originally Posted by [K4L
Leopard ]
Quote:
Originally Posted by Sal_Kings
i dont understand...
|
Then learn some pawn. Too hard for you?!
Leopard
|
The fuck pissed on your mood today?...
Re: If player skin -
pspleo - 16.05.2009
Quote:
Originally Posted by Mikkel
Quote:
Originally Posted by [K4L
Leopard ]
Quote:
Originally Posted by Sal_Kings
i dont understand...
|
Then learn some pawn. Too hard for you?!
Leopard
|
The fuck pissed on your mood today?...
|
Blame the fucking GTA IV. I've been playing it for 7 hours nonstop. Fucking game.
Leopard
Re: If player skin -
Cabby - 16.05.2009
What excactly do you want it to do?
Re : If player skin -
rbcrp - 18.12.2011
Anywho, how would you make it for many different skins like if(GetPlayerSkin(playerid) == 102, 103, 104)
of something, how would you make it like that?