Convert data
#1

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));
Reply


Messages In This Thread
Convert data - by itachi - 14.04.2016, 21:42

Forum Jump:


Users browsing this thread: 1 Guest(s)