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


Messages In This Thread
How to ? - by AlbanianGuy - 15.04.2010, 22:31
Re: How to ? - by pagie1111 - 15.04.2010, 22:34
Re: How to ? - by AlbanianGuy - 15.04.2010, 22:46

Forum Jump:


Users browsing this thread: 1 Guest(s)