01.08.2010, 19:12
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;
}

