Want to use geoip but What to do? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Want to use geoip but What to do? (
/showthread.php?tid=307783)
Want to use geoip but What to do? -
Ballu Miaa - 01.01.2012
Hello Everyone, Happy New Year first of all!
I was thinking to use any IP/Country Detector which show's admin's That this player has connected with this IP and Country! So i searched a while and i found lot of include's/Plugins /Filterscripts. So im confused on the Usage!
In the end what i liked is this :
https://sampforum.blast.hk/showthread.php?tid=190699
Just because i was reading the comments! That it is easy and fast. But the problem is im not able to get the Usage.
I mean it says to download the geoio.pwn and use it in the FS then it says download the include and use it in your GM.
But what i want to do with this include and script is ! When a Player connect's it should printf as well as Give Message to all the pAdmin's that this player has connected from this Country!
I tried to make something like this but wasnt able to? Where should i write the code's under? OnPlayerConnect? Or OnGeoipUpdate??
Please someone help me! Code me the function or please pass on suggestions on what to do?
BMiaa
Re: Want to use geoip but What to do? -
Ballu Miaa - 01.01.2012
So no answer?
Re: Want to use geoip but What to do? -
§с†¶e®РµРe - 01.01.2012
1.Download geoip.pwn and compile it.
2.on your gm write #include <geoip>
3>Create a new public and add the code what u want to add like the one given in example
Re: Want to use geoip but What to do? -
Ballu Miaa - 01.01.2012
Quote:
Originally Posted by §с†¶e®РµРe
1.Download geoip.pwn and compile it.
2.on your gm write #include <geoip>
3>Create a new public and add the code what u want to add like the one given in example
|
And what should i do with geoip.pwn? Add it in the server.cfg to load it?
EDIT: Where should i add the code's i want? I can use it Under anywhere right? Not only OnGeoIPUpdate.