Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This is a FS made by Sellize.
- #define FILTERSCRIPT
- #include <a_samp>
- #include <sscanf2>
- #include <zcmd>
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Trolladmin by Sellize ");
- print("--------------------------------------\n");
- return 1;
- }
- stock PlayerName(playerid)
- {
- new name[24];
- GetPlayerName(playerid, name, sizeof(name));
- return name;
- }
- CMD:fakeban(playerid, params[])
- {
- if (!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xF50A0AFF, "NOTICE: You are not logged in as an admin.");
- new ID;
- if (sscanf(params, "us[90]", ID)) return SendClientMessage(playerid, 0x1F36E0FF, "USAGE: /fakeban [Playerid/Name]");
- if (!IsPlayerConnected(ID)) return SendClientMessage(playerid, 0xF50A0AFF, "NOTICE: Player not found.");
- new string[128];
- format(string,sizeof(string),"%s has been banned by %s for Speed hack", PlayerName(ID), PlayerName(playerid));
- SendClientMessageToAll(0x1F36E0FF, string);
- SendClientMessage(ID, 0xa9c4e4FF, "Server closed the connection.");
- return 1;
- }
- CMD:fakekick(playerid, params[])
- {
- if (!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xF50A0AFF, "NOTICE: You are not logged in as an admin.");
- new ID;
- if (sscanf(params, "us[90]", ID)) return SendClientMessage(playerid, 0x1F36E0FF, "USAGE: /fakekick [Playerid/Name]");
- if (!IsPlayerConnected(ID)) return SendClientMessage(playerid, 0xF50A0AFF, "NOTICE: Player not found.");
- new string[128];
- format(string,sizeof(string),"%s has been kicked by %s for S0beit Hacks", PlayerName(ID), PlayerName(playerid));
- SendClientMessageToAll(0x1F36E0FF, string);
- SendClientMessage(ID, 0xa9c4e4FF, "Server closed the connection.");
- return 1;
- }
- CMD:fakemute(playerid, params[])
- {
- if (!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xF50A0AFF, "NOTICE: You are not logged in as an admin.");
- new ID;
- if (sscanf(params, "us[90]", ID)) return SendClientMessage(playerid, 0x1F36E0FF, "USAGE: /fakemute [Playerid/Name]");
- if (!IsPlayerConnected(ID)) return SendClientMessage(playerid, 0xF50A0AFF, "NOTICE: Player not found.");
- new string[128];
- format(string,sizeof(string),"%s has been mute by %s for STOP SPAMMING", PlayerName(ID), PlayerName(playerid));
- SendClientMessageToAll(0x1F36E0FF, string);
- SendClientMessage(ID, 0xa9c4e4FF, "Server: You have been muted");
- return 1;
- }
- CMD:fakeadmin(playerid, params[])
- {
- if (!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xF50A0AFF, "NOTICE: You are not logged in as an admin.");
- new ID;
- if (sscanf(params, "us[90]", ID)) return SendClientMessage(playerid, 0x1F36E0FF, "USAGE: /fakeadmin [Playerid/Name]");
- if (!IsPlayerConnected(ID)) return SendClientMessage(playerid, 0xF50A0AFF, "NOTICE: Player not found.");
- new string[128];
- format(string,sizeof(string),"%s has been promoted to OWNER by %s!", PlayerName(ID), PlayerName(playerid));
- SendClientMessageToAll(0x1F36E0FF, string);
- SendClientMessage(ID, 0xa9c4e4FF, "Server: You have been promoted to owner status!");
- return 1;
- }
- CMD:rickroll(playerid, params[])
- {
- if (!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xF50A0AFF, "NOTICE: You are not logged in as an admin.");
- new ID;
- if (sscanf(params, "us[90]", ID)) return SendClientMessage(playerid, 0x1F36E0FF, "USAGE: /rickroll [Playerid/Name]");
- if (!IsPlayerConnected(ID)) return SendClientMessage(playerid, 0xF50A0AFF, "NOTICE: Player not found.");
- SendClientMessage(playerid, 0xa9c4e4FF, "Server: Player is being rickrolled!");
- SendClientMessage(ID, 0xa9c4e4FF, "Server: You have been rickrolled!");
- PlayAudioStreamForPlayer(playerid, "http://dl.dropbox.com/u/112608840/rick_astley_never_gonna_give_you_up_mp3_62592.mp3");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement