SA-MP Forums Archive
How can I protect my gamemode? - 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: How can I protect my gamemode? (/showthread.php?tid=455815)



How can I protect my gamemode? - Andriensis - 03.08.2013

Not y_lock or y_master.
I mean.. if someone uses it and I don't want him to do it, what can I do? Like doing a cmd or something to block the gamemode and every time it starts it say something like "Gamemode not authorized" and closes.
How can I do something like that?

Thanks.


Re: How can I protect my gamemode? - Konstantinos - 03.08.2013

First of all, always upload the .amx file. Use Anti-DeAMX, get the ip (from bind line in server.cfg) and if it's not the same with the one you have written to your mode, exit the mode.

Last one, if someone uses your file you can make a secret command that bans everyone on his server and exit the mode as well. Let them search what is going on for days/months!