Create file then search it.
#1

How would I do the following things. I have file.inc and dini but I dont know how to use them very well. Thanks in advance.

1. Creates a file that stores ip's like this

ip1
ip2
ip3
ect....

2. Then search for a specific ip for example
if 111.111.111.111 is in list, do this

3. Then how would I remove 111.111.111.111 from list.
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=175565

You need to get any file-saving system to this - I reccomend Y_INI. Click the link above.
Reply
#3

I know I have to use a file system, I just dont know how I would go about doing the following things I listed. I know hot to get the player ip. I just don't know how to store multiple ones in 1 file then reference them later by asking if they exist in the file.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)