28.12.2009, 02:47 
	
	
	Quote:
| 
 
					Originally Posted by dirkblok  
Hey, 
How can I make it save the money when the player disconnects? Thanks ![]()  | 
Code:
dini_IntSet(file,"Cash", GetPlayerMoney(playerid));
Quote:
| 
 
					Originally Posted by Lajko1  
fixed  
  i just wanna ask you , how i can make when player chose skin in class selection like example : skin 50 it will save to script files , and when he go offline and later come back he will have same skin 50 when he login ? how to do this ? like in crazy bob server , i hope you can help , ty ![]()  | 
Under the /login cmd add:
Code:
SetPlayerSkin(playerid, dini_Int(file, "Skin"));
Code:
dini_IntSet(file,"Skin", GetPlayerSkin(playerid));



 i just wanna ask you , how i can make when player chose skin in class selection like example : skin 50 it will save to script files , and when he go offline and later come back he will have same skin 50 when he login ? how to do this ? like in crazy bob server , i hope you can help , ty