30.05.2013, 15:11
Quote:
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? |
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);