Quote:
Originally Posted by fysiks
There are several major issues with this plugin. The first is that you aren't looking at the data in the vault at all. You get it from the vault but you don't actually do anything with it. Though I'm confident you're not setting and getting the data to and from the vault properly. You're also wrongly using both of your global variables. In fact, neither of those global variables should exist in this plugin.
It would probably be easier to help you with this if you can explain what you are actually trying to do.
|
Okay, then I should make another post in plugins request I guess..
What I'm trying to do is get the user ip when he joins and save it in a string. Then read the vault data and compare if the user IP is in it. The saveds ip are added manually with the command "amx_save_ip <ip>".
If the user IP exist in the file, do something. Else, do other thing.