is this possible?
#1

is it possible to make this diffrent:

instead of using: dUserSetINT(playername(playerid)).(item,data);
everytime, can i do something like this:

Код:
public writeini(playerid,item,data) {
	dUserSetINT(playername(playerid)).(item,data);
	return 1;
}
and use:

writeini(playerid,"money","GetPlayerCash(playerid) )

?? Thanks in advance.
Reply
#2

I think so.

..by the way..
writeini(playerid, "money", GetPlayerCash(playerid));
Reply
#3

Код:
// Write(playerid,"money",100);

stock Write(playerid,item[],data) 
{
	dini_IntSet(playername(playerid),item,data);
	return dini_Int(playername(playerid),item);
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)