How to stop?? - 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 to stop?? (
/showthread.php?tid=281739)
How to stop?? -
shaikh007 - 07.09.2011
how to stop script from demax
Re: How to stop?? -
shaikh007 - 07.09.2011
Quote:
Originally Posted by ******
There is a small script you can insert (IIRC it's an array of strings which is never used) that can stop some versions. I believe that also including strange "#emit" code to defeat the pattern recognition can work, as do functions with states.
|
Thanks ****** for Help it work.
+1rep Added.
Re: How to stop?? -
THE_KNOWN - 07.09.2011
Код:
AntiDeAMX()
{
new a[][] =
{
"Unarmed (Fist)",
"Brass K"
};
#pragma unused a
}
http://en.wikipedia.org/wiki/Pawn_(p...nguage)#Design
Re: How to stop?? -
shaikh007 - 07.09.2011
Quote:
Originally Posted by THE_KNOWN
|
Thx known. it also worked.

+1 rep added.
Re: How to stop?? -
shaikh007 - 07.09.2011
after adding this i get below server error
I get this error
Код:
Script[gamemodes/Blank1.amx]: Run time error 22: "AMX not initialized (or doubly initialized)"
its working fine with filterscripts but with game mode it gives above error
Re: How to stop?? -
Vince - 07.09.2011
The #emit preprocessor directive should be handled with care. It is only useful when you know what you're doing. #emit expects parameters.
Re: How to stop?? -
[H]ead - 07.09.2011
To stop the amx descompiler just declare an array (
new) and un-declare
(pragma unused)
You can do the same with
emits directives
Quote:
The #emit preprocessor directive should be handled with care. It is only useful when you know what you're doing. #emit expects parameters.
|
Exactly.