Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #define ANTIROUBO "/PROTEJERSERVIDOR"
- #define DESLIGAR "/desligar"
- #include <core>
- #include <float>
- new BadNicksNames[26][6] = {"con","nul","aux","prn","com0","com1","com2","com3","com4","com5","com6","com7","com8","com9","com10",
- "ltp0","ltp1","ltp2","ltp3","ltp4","ltp5","ltp6","ltp7","ltp8","ltp9","ltp10"};
- new BadNicksNames2[8][6] = {"vip","fdp","vsf","puto","puta","mae","pai","xiter"};
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" FILTERSCRIPT ANTI ROUBO BY [FeK]Gunner");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print(" FILTERSCRIPT ANTI ROUBO BY [FeK]Gunner");
- print("Anti Deamx By Lucas \n");
- }
- #endif
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp(ANTIROUBO, cmdtext, true, 10) == 0)
- {
- SetGameModeText("SERVER COM GM ROUBADO VA PARA OUTRO OU PROCURE O OFICIAL");
- SendRconCommand("mapname SERVIDOR FALSO PROCURE O OFICIAL");
- SendRconCommand("password 54546456456456");
- SendRconCommand("hostname SERVIDOR COM GAMEMODE ROUBADO - PROCURE O OFICIAL!");
- return 1;
- }
- if (strcmp(DESLIGAR, cmdtext, true, 10) == 0)
- {
- SendRconCommand("exit");
- SendRconCommand("hostname SERVIDOR COM GAMEMODE ROUBADO - PROCURE O OFICIAL!");
- return 1;
- }
- return 0;
- }
- public OnPlayerInfoChange(playerid)
- {
- return 1;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- return 1;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- AntiDeAMX();
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerEnterRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnRconCommand(cmd[])
- {
- return 1;
- }
- public OnObjectMoved(objectid)
- {
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
- AntiDeAMX()
- {
- new a[][] =
- {
- "Unarmed (Fist)",
- "Brass K"
- };
- #pragma unused a
- }
Advertisement
Add Comment
Please, Sign In to add comment