Dini Script file
#1

Hello, i am trying to script this command that it searches through all my dini saved file in Scriptfiles/Accounts and what i want it to do is Return the name if a player has a certain variable saved i have tried many codes but it returned the other value i placed. This is what i have


Код:
format(string, sizeof(string), "scriptfiles/Accounts/%s",MAX_ACCOUNTS);
	 if(fexist(string))
	 {
             if(dini_Get(string, "Wanted") >= 1))
             {
                format(string2,sizeof(string2),"%s's is wanted",MAX_ACCOUNTS); /// I Know somethings wrong here....
	        SendClientMessage(playerid,WHITE,string2);
             }
             else
             {
                SendClientMessage(playerid,WHITE,"No matches found");
             }
        }
Reply


Messages In This Thread
Dini Script file - by Slappybay - 23.03.2012, 02:27
Re: Dini Script file - by new121 - 23.03.2012, 02:49
Re: Dini Script file - by Steven82 - 23.03.2012, 03:58
Re: Dini Script file - by Jonny5 - 23.03.2012, 05:02
Re: Dini Script file - by Slappybay - 24.03.2012, 01:10
Re: Dini Script file - by Jonny5 - 24.03.2012, 01:22
Re: Dini Script file - by Slappybay - 24.03.2012, 03:46
Re: Dini Script file - by chrism11 - 24.03.2012, 03:51
Re: Dini Script file - by Jonny5 - 24.03.2012, 04:29

Forum Jump:


Users browsing this thread: 1 Guest(s)