Matching
#1

Hi, I was wondering if there was a way to grab information from game and then see if it matches something which is located in a document?

For example, it should work like when you grab an IP and see if it's in a certain file.

For example if a player's IP is 127.0.0.1 when he joins the server it will grab his IP and search to see if it matches an IP in a document

Код:
if (strcmp(GetPlayerIP(playerid), [filelocation???] -  I don't know what to put here], true) {

Banex ("Your IP is on a ban list");

}
Could someone please help, thanks!
Reply


Messages In This Thread
Matching - by Test23 - 23.12.2012, 17:24
Re: Matching - by Test23 - 23.12.2012, 17:49
Re: Matching - by Lynn - 23.12.2012, 17:51
Re: Matching - by Test23 - 23.12.2012, 17:53
Re: Matching - by tyler12 - 23.12.2012, 17:55
Re: Matching - by Test23 - 23.12.2012, 18:11
Re: Matching - by tyler12 - 23.12.2012, 18:29
Re: Matching - by Test23 - 23.12.2012, 20:20
Re: Matching - by Test23 - 23.12.2012, 21:45

Forum Jump:


Users browsing this thread: 3 Guest(s)