23.12.2012, 17:24
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
Could someone please help, thanks!
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"); }