07.08.2010, 18:55
Use SetSpawnInfo or under OnPlayerSpawn callback set new player's skin (but watch out, it will crash player if you don't use SetPlayerPos before).
And here is optimized IsValidSkin function:
And here is optimized IsValidSkin function:
Код:
IsValidSkin(skinid)
{
if(0 < skinid < 300)
{
switch(skinid)
{
case 3, 4, 5, 6, 8, 42, 65, 74, 86,
119, 149, 208, 273, 289: return 0;
}
return 1;
}
return 0;
}

