Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <k_functions>
- #define FILTERSCRIPT
- // Colors
- #define COLOR_BLUE 0x0042F6AA
- #define COLOR_DBLUE 0x00008DAA
- #define COLOR_DRED 0xA50000AA
- #define COLOR_WHITE 0xF6F6F6AA
- #define COLOR_YELLOW 0xF6F600AA
- #define COLOR_GREEN 0x00B900AA
- #pragma tabsize 0
- new fdgate;
- new fdpanel;
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print("-Fire Department Gate");
- print("--------------------------------------\n");
- fdgate = CreateObject(11313, 1761.251709, -1691.866943, 14.337524, 0.0000, 0.0000, 359.1406);
- fdpanel = CreateObject(2886, 1760.895630, -1695.055176, 14.274990, 0.0000, 0.0000, 269.0037);
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- if((newkeys ==KEY_SECONDARY_ATTACK)
- GetPlayerSkin(playerid);
- if(IsPlayerSkin(playerid, 280) || IsPlayerSkin(playerid, 281) || IsPlayerSkin(playerid, 284) || IsPlayerSkin(playerid, 285) || IsPlayerSkin(playerid, 286) || IsPlayerSkin(playerid, 265) || IsPlayerSkin(playerid, 266) || IsPlayerSkin(playerid, 267) || IsPlayerSkin(playerid, 71))
- MoveObject(fdgate1,1761.259399, -1691.880127, 18.295528);
- SendClientMessage(playerid, COLOR_RED, "You've opened the Gate.");
- return 1;
- }
- } return 0;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n-----------------------------------------------");
- print(" --== Impound Gates By Jay");
- print("-------------------------------------------------n");
- }
- #endif
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- return 1;
- }
- public OnPlayerPrivmsg(playerid, recieverid, text[])
- {
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- 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)
- {
- 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;
- }
Advertisement
Add Comment
Please, Sign In to add comment