Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define FILTERSCRIPT
- #include <a_samp>
- #if defined FILTERSCRIPT
- new gate;
- public OnFilterScriptInit()
- {
- CreateObject(987, 1538.658203125, -1833.3873291016, 12.546875, 0, 0, 90);
- CreateObject(987, 1538.6240234375, -1845.35546875, 12.546875, 0, 0, 90);
- CreateObject(987, 1499.5145263672, -1853.5841064453, 12.546875, 0, 0, 0);
- CreateObject(987, 1422.5129394531, -1842.2049560547, 12, 0, 0, 270);
- gate = CreateObject(974, 1422.5207519531, -1838.9348144531, 15.324615478516, 0, 0, 90);
- CreateObject(987, 1422.681640625, -1824.4375, 12, 0, 0, 269.99450683594);
- CreateObject(6976, 1469.7406005859, -1825.4454345703, 23.60000038147, 0, 0, 180);
- CreateObject(6976, 1488.931640625, -1825.5943603516, 12.546875, 0, 0, 179.99450683594);
- CreateObject(987, 1538.701171875, -1845.248046875, 12.714269638062, 0, 0, 0);
- return 1;
- }
- #endif
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(strcmp("/closegates", cmdtext, true))
- {
- MoveObject(gate,1422.5129394531, -1838.9750976563, 9, 2);
- return 1;
- }
- if(strcmp("/opengates", cmdtext, true))
- {
- MoveObject(gate,1422.5207519531, -1838.9348144531, 15.324615478516, 2);
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment