04.12.2009, 00:41
I've run into this problem too. I solved it by simply placing it under OnPlayerStateChange with a newstate == PLAYER_STATE_SPAWNED conditional.
Alternatively, use SetSpawnInfo accordingly.
*Late Entry
Clearly code wasn't required.
pawn Код:
public OnPlayerStateChange(playerid,newstate,oldstate)
{
if(newstate==PLAYER_STATE_SPAWNED)SetPlayerSkin(playerid,pSkin[playerid]); //or similar variable
return 1;
}
*Late Entry
Quote:
Originally Posted by » Pawnst★r «
Well you expect anyone to work magic with you when they haven't seen any code? lol
Sorry but, no code = no fix. |