SetPlayerColor for skin
#1

Ok so, I made this script for FBI skins. So everyone with a FBI skin gets a blue name. But, weird is, the players still get the random spawning colors. How can I fix this?

Код:
public OnPlayerSpawn(playerid)
{
new pskin = GetPlayerSkin(playerid);
if(pskin == 166 || pskin == 165 || pskin == 285 || pskin == 286 || pskin == 163 || pskin == 164)
{
SetPlayerColor(playerid, COLOR_BLUE);
return 1;
}
Reply


Messages In This Thread
SetPlayerColor for skin - by Henrix - 01.08.2010, 19:12
Re: SetPlayerColor for skin - by Jefff - 01.08.2010, 19:32

Forum Jump:


Users browsing this thread: 1 Guest(s)