How to stop??
#1

how to stop script from demax
Reply
#2

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.
Reply
#3

Код:
AntiDeAMX()
{
        new a[][] =
        {
                "Unarmed (Fist)",
                "Brass K"
        };
 
        #pragma unused a
 
}
http://en.wikipedia.org/wiki/Pawn_(p...nguage)#Design
Reply
#4

Quote:
Originally Posted by THE_KNOWN
Посмотреть сообщение
Код:
AntiDeAMX()
{
        new a[][] =
        {
                "Unarmed (Fist)",
                "Brass K"
        };
 
        #pragma unused a
 
}
http://en.wikipedia.org/wiki/Pawn_(p...nguage)#Design
Thx known. it also worked.
+1 rep added.
Reply
#5

after adding this i get below server error
PHP код:
#emit 
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
Reply
#6

The #emit preprocessor directive should be handled with care. It is only useful when you know what you're doing. #emit expects parameters.
Reply
#7

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.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)