14.04.2016, 21:42
Please how to convert this to dini save
----- Save Data ------
format(str,200,"%d\r\n",GetPVarInt(playerid,"JB")) ;
fwrite(file,str);
format(str,200,"%d\r\n",GetPVarInt(playerid,"Skin" ));
fwrite(file,str);
---- Load Data -----
fread(file,str); SetPVarInt(playerid,"Job",strval(str));
fread(file,str); SetPVarInt(playerid,"Skin",strval(str));
----- Save Data ------
format(str,200,"%d\r\n",GetPVarInt(playerid,"JB")) ;
fwrite(file,str);
format(str,200,"%d\r\n",GetPVarInt(playerid,"Skin" ));
fwrite(file,str);
---- Load Data -----
fread(file,str); SetPVarInt(playerid,"Job",strval(str));
fread(file,str); SetPVarInt(playerid,"Skin",strval(str));