y-ini help
#1

Can someone help me with this code:
Код:
new donate;
	 	new file = ini_openFile("donate.ini");
		if(ini_getInteger(file, inputtext) == 0)
		{
			if(donate == 1)
			{
	  			SendClientMessage(playerid,-1,"VIP Account activated");
	  			
				return 1;
			}
			if(donate == 2)
			{
	  			SendClientMessage(playerid,-1,"Level UP to 1 point");
	  			
				return 1;
			}
			if(donate == 3)
			{
	  			SendClientMessage(playerid,-1,"Phone Number changed for 4 symbols");
				return 1;
			}
			ini_removeKey(file,inputtext);
			SendClientMessage(playerid,-1,"Thank's for donate");
		}
		else
		{
			SendClientMessage(playerid,-1,"Wrong Code");
		}
		iniClose(file);
I can't make it with y-ini. : (
Reply


Messages In This Thread
y-ini help - by Stoyanov - 08.11.2014, 19:33
Re: y-ini help - by M4D - 08.11.2014, 19:36
Re: y-ini help - by Stoyanov - 08.11.2014, 19:38
Re: y-ini help - by M4D - 08.11.2014, 19:52
Re: y-ini help - by Stoyanov - 08.11.2014, 19:53
Re: y-ini help - by M4D - 08.11.2014, 20:16
Re: y-ini help - by Stoyanov - 08.11.2014, 20:24

Forum Jump:


Users browsing this thread: 1 Guest(s)