Script Password - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Script Password (
/showthread.php?tid=94114)
Script Password -
Oi! - 28.08.2009
I was wondering if there was a way I could put a password on my script so if you try and open it, it will say something like "This script requires a password:" Or something. Something to make it so if someone steals my script then they can't even open it. Is this possible?
Re: Script Password -
dice7 - 28.08.2009
No
But you can use this piece of code, so people who steal your amx file can't decompile it with Deamx
pawn Код:
AntiDeAMX()
{
new a[][] =
{
"Unarmed (Fist)",
"Brass K"
};
#pragma unused a
}
pawn Код:
public OnGameModeInit()
{
AntiDeAMX(); ///can be put in any callback
return 0;
}
Re: Script Password -
Correlli - 28.08.2009
You may also want to check
this, too.