07.08.2009, 15:57
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.
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.
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;
}
Thanks in advance, and sorry as this question might seem nooby, as i tried searching and found nothing.