Help to make a log in a filterscript with an ini file
#1

I am making a parking filterscript where you can register to the parking and it saves that to an ini file with the name of the player who registered, and then you can open the door if you are registered.

I only need how to put the ini file in the filterscript and how it saves to the file and use a command if you are registered in the ini file.

These are only examples, if you know how to make working with an ini file please edit these code
Код:
	if (strcmp("/register", cmdtext, true, 10) == 0)
	{
		// Here put the code when the name is saved to the log.
		return 1;
	}
Код:
	if (strcmp("/gate", cmdtext, true, 10) == 0)
	{
		// And here put if the name is registered on the ini file.
		return 1;
	}
Sorry my bad english
Reply


Messages In This Thread
Help to make a log in a filterscript with an ini file - by GammerZ - 17.05.2009, 04:53
Re: Help to make a log in a filterscript with an ini file - by clean180ollie - 18.07.2009, 21:36
Re: Help to make a log in a filterscript with an ini file - by Anarkien - 18.07.2009, 21:37

Forum Jump:


Users browsing this thread: 1 Guest(s)