Szia, kérlek ezeket illeszd be a fõpostba, hogy a késõbbiek során is letölthetõ legyen a munkád, hiszen mint azt említettem, a data.hu sok indokkal törölheti, ha nem vagy prémium.
Code tagek között:
//-------------------------------------------------------------------------------//
//----------------------------AntiMinigun ---------------------------------------//
//---------------------------- By Cri$y -----------------------------------------//
//-------------------------------------------------------------------------------//
#include <a_samp>
#pragma tabsize 0
#define FILTERSCRIPT
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_PURPLE 0x9900FFAA
#define COLOR_BROWN 0x993300AA
#define COLOR_ORANGE 0xFF9933AA
#define COLOR_CYAN 0x99FFFFAA
#define COLOR_TAN 0xFFFFCCAA
#define COLOR_PINK 0xFF66FFAA
#define COLOR_KHAKI 0x999900AA
#define COLOR_LIME 0x99FF00AA
#define COLOR_BLACK 0x000000AA
#define COLOR_TURQ 0x00A3C0AA
#define COLOR_LIGHTBLUE 0x00BFFFAA
#define COLOR_GREENISHGOLD 0xCCFFDD56
#define COLOR_LIGHTBLUEGREEN 0x0FFDD349
#define COLOR_NEUTRALBLUE 0xABCDEF01
#define COLOR_LIGHTCYAN 0xAAFFCC33
#define COLOR_LEMON 0xDDDD2357
#define COLOR_AQUA 0x7CFC00AA
#define COLOR_WHITEYELLOW 0xFFE87DAA
#define COLOR_BLUEAQUA 0x7E60FFAA
#define COLOR_GREENYELLOWWHITE 0xCBFF45AA
#define COLOR_DARKBLUE 0x15005EAA
#define COLOR_RED 0xEB000FFF
#define COLOR_ROB_SUCCESS 0x00CCFFAA
#define COLOR_ROB_FAILURE 0xCCCCFFAA
#define COLOR_ROB_ERROR 0xFF0000AA
#define COLOR_ALIEN 0x90FF87FF
#define COLOR_SHOOTER 0xFFAC82FF
#define COLOR_WHITE 0xFFFFD5FF
forward Minigun();
public OnFilterScriptInit()
{
print(\"--------------------------------------\");
print(\"AntiMinigun Script by Cri$y !\");
print(\"--------------------------------------\");
SetTimer(\"Minigun\",700,1);
}
public Minigun()
{
for(new i; i<MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i)) {
new fegyver, tolteny;
GetPlayerWeaponData(i, 7, fegyver, tolteny);
if(fegyver == WEAPON_MINIGUN && tolteny >= 1)
{
SendClientMessage(i, COLOR_RED, \"[Anti-Minigun] Banolva lettél Minigun használata miatt!\");
Ban(i);
}
}
}
return 1;
}
Letöltési link:
http://www.solidfiles.com/d/957e38f728/