25.10.2013, 12:27
I don't know why, but I can explain this problem.
I have a saving for skin. After I choose a skin from /skin command then it spawn the skin that I've chosen. Then I /q or quit to the server. Now I tried to change a different name on the tab Name: where you put your name. So basically it created a new account. Now after I spawned with a new account and it loads the skin of the old registered account (The one that I used earlier). Why?
I have a saving for skin. After I choose a skin from /skin command then it spawn the skin that I've chosen. Then I /q or quit to the server. Now I tried to change a different name on the tab Name: where you put your name. So basically it created a new account. Now after I spawned with a new account and it loads the skin of the old registered account (The one that I used earlier). Why?
Код:
public OnPlayerSpawn { SetPlayerSkin(playerid, pInfo[playerid][Skin]); ///some codes here }
Код:
public OnPlayerRequestSpawn(playerid) { SetPlayerSkin(playerid, pInfo[playerid][Skin]); //some coes here }
Код:
INI_WriteInt(ACCOUNT, "Skin", pInfo[playerid][Skin]);
Код:
INI_Int("Skin", pInfo[playerid][Skin]);