Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- --------------------------------------------------------
- - Minigun Bomb FS - |
- Contact: |
- |
- - Facebook "Gemini Tazmania A.K.A Muhammad AbiL" |
- - Website "www.Geminotz.hol.es" |
- - Blog "www.gemini-ganteng.blogspot.com" |
- |
- --------------------------------------------------------
- */
- #include <a_samp>
- #include <zcmd>
- //**COLORS*//
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_GREEN 0x33AA33AA
- #define COLOR_RED 0xAA3333AA
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_WHITE 0xFFFFFFAA
- #define COLOR_BLUE 0x0000FFAA
- #define blue 0x0000FFAA
- #define COLOR_BROWN 0x993300AA
- #define COLOR_ORANGE 0xFF9933AA
- #define COLOR_CYAN 0x99FFFFAA
- #define COLOR_PINK 0xFF66FFAA
- #define COLOR_BLACK 0x2C2727AA
- #define COLOR_LIGHTCYAN 0xAAFFCC33
- #define COLOR_LEMON 0xDDDD2357
- #define COLOR_AQUA 0x7CFC00AA
- #define COLOR_WHITEYELLOW 0xFFE87DFF
- #define COLOR_BLUEAQUA 0x7E60FFFF
- #define COLOR_DARKBLUE 0x15005EFF
- #define COLOR_ALIEN 0x90FF87FF
- #define COLOR_GOLD 0xB8860BAA
- #define KICK_COLOR 0xFF0000FF
- #define COLOR_GANGGREEN 0x00FF0096
- #define COLOR_BLACK 0x2C2727AA
- #define COLOR_SBLUE 0x00BFFFAA
- #define COLOR_LBLUE 0x15D4EDAA
- new MBOM[MAX_PLAYERS];
- public OnFilterScriptInit()
- {
- print("\n-------> Filterscript <----------");
- print("----- | Minigun Bomb Loaded | -----");
- print("-------> T-A-Z-M-A-N-I-A-X <--------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- print("\n-------> Filterscript <----------");
- print("----- | Minigun Bomb UNLoaded | -----");
- print("-------> T-A-Z-M-A-N-I-A-X <--------\n");
- return 1;
- }
- CMD:mbom(playerid, params[])
- {
- if(IsPlayerAdmin(playerid))
- {
- if(MBOM[playerid] == 0)
- {
- MBOM[playerid] = 1;
- GivePlayerWeapon(playerid, 38, 99999);
- // THOR MODE (LOL)
- SetPlayerHealth(playerid, 99999999);
- SendClientMessage(playerid, COLOR_LBLUE, "(SERVER): {FFFFFF}Minigun bomb is Actived");
- }
- else
- {
- MBOM[playerid] = 0;
- SetPlayerHealth(playerid, 100);
- SendClientMessage(playerid, COLOR_LBLUE, "(SERVER): {FFFFFF}Minigun Bomb is Detecative");
- }
- }
- else SendClientMessage(playerid, COLOR_RED, "<!> You Are not Administrator Fools");
- return 1;
- }
- forward OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ);
- public OnPlayerConnect(playerid)
- {
- MBOM[playerid] = 0;
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- MBOM[playerid] = 0;
- return 1;
- }
- public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
- {
- if(MBOM[playerid] == 1)
- {
- new szString[144];
- format(szString, sizeof(szString), "Weapon %i fired. hittype: %i hitid: %i pos: %f, %f, %f", weaponid, hittype, hitid, fX, fY, fZ);
- SendClientMessage(playerid, -1, szString);
- CreateExplosion(fX, fY, fZ, 2, 10);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment