SA-MP Forums Archive
AMX Protection - 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: AMX Protection (/showthread.php?tid=192488)



AMX Protection - Blatnoi - 22.11.2010

Hello
so basically i wounder if any more protections like antideamx needed for the script...
i'm going to host my server files to the persons computer who i don't trust...
-----
p.s.
i searched for automatic message script but wasn't able to find any normal... need recommendations


Re: AMX Protection - Emirt - 22.11.2010

You can do thing that this map will work only on the sorter ip. I will give you a cod if i found it :P


---------
for the automsg

new msgb;
new BotMessages[2][256] =
{
{"Bot: Message1"},
{"Bot: Message2"}
};

2 stands for the number of msgs

SetTimer("MSGHelp",120000,true); - OnGameModeInit 120000 - stands for the time between messages


End of the map

public MSGHelpl(playerid)
{
if(rbot < 33)
{
msgb++;
}
else
{
msgb = 0;
}
SendClientMessageToAll(COLOR_RED,BotMessages[msgb]);
}


Re: AMX Protection - The_Moddler - 22.11.2010

http://forum.sa-mp.com/showthread.ph...ight=AntideAMX

Translate it.

But basicly, you copy the anti-amx code into your GM and under OnGameModeInit or any other callback you put only ONCE this:

Код:
AntiDeAMX();



Re: AMX Protection - acade - 22.11.2010

Best thing would be is not to host the script on someones computer you don't trust.