How to ?
#1

how to make a thingy to save the skin automaticly .. i have made one but i get errors .. cant work with it can anyone help me ?
Код:
onplayerdisconnect
if(PlayerInfo[playerid][Registered] == 1)
	(
	  GetPlayerSkin(playerid);// dont know if this is right
	  dUserSetINT(PlayerName(playerid)).("SavedSkin",skinid);//now i dont know how to save the skin id
	}

and onplayerSpawn
if(PlayerInfo[playerid][Logged] == 1)
{
  SetPlayerSkin(dUserSetINT(playerid,PlayerName(playerid)).("SavedSkin",skinid));
}
Reply
#2

pawn Код:
onplayerdisconnect
if(PlayerInfo[playerid][Registered] == 1)
    {
      new skinid = GetPlayerSkin(playerid);
      dUserSetINT(PlayerName2(playerid)).("SavedSkin",skinid);//now i dont know how to save the skin id
    }

and onplayerSpawn
if(PlayerInfo[playerid][Registered] == 1)
{
?
Reply
#3

Quote:
Originally Posted by {Awaran};
pawn Код:
onplayerdisconnect
if(PlayerInfo[playerid][Registered] == 1)
    {
      new skinid = GetPlayerSkin(playerid);
      dUserSetINT(PlayerName2(playerid)).("SavedSkin",skinid);//now i dont know how to save the skin id
    }

and onplayerSpawn
if(PlayerInfo[playerid][Registered] == 1)
{
?
now its fixed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)