Saving and Loading Skins
#1

OnPlayerSpawn:

pawn Код:
public OnPlayerSpawn(playerid)
{
SetPlayerSkin(playerid,pInfo[playerid][pSkin]);
return 1;
}
Hi there, i have a code that when someone leaves the game it saves his skin, that works pretty well and loads good. But i am confused with how to spawn a player who is newly registered to the server with the class selection skins?

My Registered and Login variables

pawn Код:
IsRegistered
IsLogged
Thanks
Reply
#2

Do you force spawn? (Automatically spawn players)
Reply
#3

No i dont, the players who have there skins saved spawn naturally from class selection but once the spawn there skin ids are set to the id that was saved before the logged out/quit.
Reply
#4

fixed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)