If player skin
#1

How do i make a command but only the person with a certian skin can use that command or else it will say "Invalid"
Reply
#2

Use if statement and this function:
https://sampwiki.blast.hk/wiki/GetPlayerSkin
Reply
#3

removed, my post was exactly the same as above, not in time lol.
Reply
#4

i dont understand...
Reply
#5

Quote:
Originally Posted by Sal_Kings
i dont understand...
Then learn some pawn. Too hard for you?!

Leopard
Reply
#6

pawn Код:
if(GetPlayerSkin(playerid) == SKIN_ID_YOU_WANT_TO_USE)
{
// your code.
}
else
{
// your code.
}
Reply
#7

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?...
Reply
#8

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

What excactly do you want it to do?
Reply
#10

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


Forum Jump:


Users browsing this thread: 1 Guest(s)