getplayerskin help
#2

Quote:
Originally Posted by Proph3t
Посмотреть сообщение
Hello,

I want to know how to i change players skin with GetPlayerSkin? i tried this:

if(GetPlayerSkin(294)) return SetPlayerSkin(playerid, 270);

basicly i want if the players skin id is 294 i want the server to change it to 270. help please?
https://sampwiki.blast.hk/wiki/GetPlayerSkin

As you can see from there, it's expecting the players ID. So you can do something like;

pawn Код:
if(GetPlayerSkin(playerid) == 294) SetPlayerSkin(playerid, 270);
Reply


Messages In This Thread
getplayerskin help - by Proph3t - 30.05.2013, 15:09
Re: getplayerskin help - by [ABK]Antonio - 30.05.2013, 15:11
Re: getplayerskin help - by NL-Sultan - 30.05.2013, 15:16
Re: getplayerskin help - by Konstantinos - 30.05.2013, 15:19
Re: getplayerskin help - by [ABK]Antonio - 30.05.2013, 15:20
Re: getplayerskin help - by Proph3t - 30.05.2013, 15:33

Forum Jump:


Users browsing this thread: 1 Guest(s)