Make INI and then read from it
#1

Hi, I would like to know how can i make an ini file with information in it, and then read it?
I need this for a job script.

pawn Код:
if(strcmp(cmd, "/duty", true) == 0)
        {
        format(string, sizeof(string), "You are now on duty as a cop, %s", name);
        SendClientMessage(playerid, COLOR_GREEN, string);
        Job4[playerid] = 1;
        return 1;
        }
So i want this command executed only if you have your name written in the Ini file, But first how do i make the ini file?

Thanks in advance, and sorry as this question might seem nooby, as i tried searching and found nothing.
Reply


Messages In This Thread
Make INI and then read from it - by Blades - 07.08.2009, 15:57
Re: Make INI and then read from it - by saiberfun - 07.08.2009, 15:59
Re: Make INI and then read from it - by Blades - 07.08.2009, 16:09

Forum Jump:


Users browsing this thread: 1 Guest(s)