player skin help
#1

i added save skin in my script but


stock saveuserstats
{

INI_WriteInt(ufile, "pskin", GetPlayerSkin(playerid));


..............

public onplayerrequestclass
{

SetPlayerSkin(playerid, PlayerInfo[playerid][pskin]);


public onplayerdisconnect
{

PlayerInfo[playerid][pskin] = GetPlayerSkin(playerid);


public onplayerconnect
{

PlayerInfo[playerid][pskin] = GetPlayerSkin(playerid);
INI_WriteInt(ufile, "pskin", PlayerInfo[playerid][pskin]);


stock loaduser_data
{

SetPlayerSkin(playerid,PlayerInfo[playerid][pskin]);


and what i did wrong? I am making save skin system but when player login 2nd time so they can see skin on requestclass but can't choose another skin. but they are showing me only CJskin and when i spawn i have cjskin.

help please.
Reply
#2

bump? i need it urgent
Reply
#3

in the way you made it, it looks alright. Try to fix your code up there please, we can't understand anything in that way.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)