Level save
#3

one of the level looks like this
Код:
	if(strcmp("/buylevel", cmdtext, true, 10) == 0)
	{
	 	if(PlayerInfo[playerid][pLevel] == 0)
		{
			if(Money >= 100000)
	  		{
	  			SendClientMessage(playerid,COLOR_1,"You Have bought level 1!");
	  			PlayerInfo[playerid][pLevel] = 1;
	  			flip[playerid] = 1;
	  		}
	  		else
  			{
	  			SendClientMessage(playerid,COLOR_5,"Not enought money to buy this!");
  			}
	  		return 1;
	 	}
how can do it with dini.. i have never made saving system
Reply


Messages In This Thread
Level save - by GaGlets(R) - 13.11.2009, 15:09
Re: Level save - by Jakku - 13.11.2009, 15:11
Re: Level save - by GaGlets(R) - 13.11.2009, 15:15

Forum Jump:


Users browsing this thread: 3 Guest(s)