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
#2

did you solve this yet, i need help with this too
Reply
#3

Read http://forum.sa-mp.com/index.php?topic=69810.0
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)