Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- [FS] By nick15
- */
- #include <a_samp>
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_BLUE 0x2641FEAA
- #define COLOR_PURPLE 0x800080AA
- #define FILTERSCRIPT
- forward GateClose();
- new gate;
- public OnFilterScriptInit()
- {
- gate = CreateObject(976,2216.932373,-1143.772338,24.796875,1.000000,-1.000000,345.000000); /// middle balla hq gate
- CreateObject(976,2209.210693,-1141.437622,24.812583,0.000000,0.000000,345.000000); /// right balla hq gate
- CreateObject(976,2224.618408,-1145.802001,24.796875,1.000000,0.000000,343.000000); /// left balla hq gate
- CreateObject(975,2236.124755,-1149.183227,25.796875,0.000000,0.000000,342.000000); /// balla hq blockoff
- print("\n--------------------------------------");
- print("--------------BALLA HQ GATES-------------");
- print("---------------BY HARRI----------------");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp(cmdtext, "/ballahq", true)==0)
- {
- MoveObject(gate,2224.618408,-1145.802001,24.796875,1.000000,0.000000,343.000000, 6.5);
- SetTimer("GateClose", 15000, 0);
- SendClientMessage(playerid, COLOR_PURPLE,"BALLA GATE OPENING - CLOSING IN 15 SECONDS");
- return 1;
- }
- return 0;
- }
- public GateClose()
- {
- MoveObject (gate,2216.932373,-1143.772338,24.796875,1.000000,-1.000000,345.000000, 3.5);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement