Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- new fbi1;
- new fbi2;
- #define FILTERSCRIPT
- #define COLOR_GREEN 0xA1FFB9FF
- #define COLOR_WHITE 0xFFFFFFFF
- #define COLOR_GOLD 0xD3A400FF
- #define COLOR_RED 0xFFFF00AA
- forward timer();
- public OnPlayerConnect(playerid)
- {
- SendClientMessage(playerid,COLOR_GREEN, "FBI BASE");
- }
- public OnFilterScriptInit()
- {
- CreateObject(972, 1577.355347, -1756.571167, 3.167892, 0.0000, 0.0000, 0.0000);
- CreateObject(972, 1746.405640, -1797.352539, 2.906256, 0.0000, 0.0000, 348.7500);
- CreateObject(8172, 1628.719482, -1763.779297, 11.892164, 0.0000, 0.0000, 258.7500);
- CreateObject(9241, 1661.606445, -1772.609741, 13.585443, 0.0000, 0.0000, 258.7500);
- CreateObject(972, 1576.661865, -1760.162720, 12.535290, 0.0000, 0.0000, 0.0000);
- CreateObject(973, 1580.176392, -1768.434448, 13.133118, 0.0000, 0.0000, 90.0000);
- CreateObject(1455, 1682.330322, -1784.119263, 12.618564, 0.0000, 0.0000, 0.0000);
- CreateObject(1486, 1678.939209, -1782.646240, 13.611809, 0.0000, 0.0000, 0.0000);
- CreateObject(643, 1621.802246, -1769.684814, 3.430156, 0.0000, 0.0000, 0.0000);
- CreateObject(1256, 1629.423462, -1772.506958, 3.619141, 0.0000, 0.0000, 258.7500);
- CreateObject(1256, 1613.467285, -1769.041626, 3.612581, 0.0000, 0.0000, 258.7500);
- CreateObject(1281, 1638.188843, -1762.651367, 3.753507, 0.0000, 0.0000, 0.0000);
- CreateObject(1726, 1604.713135, -1753.349976, 2.952099, 0.0000, 0.0000, 348.7500);
- CreateObject(1726, 1607.836792, -1753.990356, 2.952099, 0.0000, 0.0000, 348.7500);
- CreateObject(1726, 1603.686890, -1755.893433, 2.945540, 0.0000, 0.0000, 78.7500);
- CreateObject(1726, 1610.072021, -1755.237549, 2.952099, 0.0000, 0.0000, 258.7500);
- CreateObject(1727, 1605.688965, -1758.160034, 2.945553, 0.0000, 0.0000, 168.7500);
- CreateObject(1727, 1608.000977, -1758.740356, 2.945553, 0.0000, 0.0000, 168.7501);
- CreateObject(1848, 1591.138306, -1762.880981, 2.951671, 0.0000, 0.0000, 168.7500);
- CreateObject(3391, 1655.001831, -1765.167236, 2.962083, 0.0000, 0.0000, 78.7500);
- CreateObject(3392, 1658.394409, -1766.604248, 2.963739, 0.0000, 0.0000, 56.2500);
- CreateObject(3393, 1651.392822, -1765.890625, 2.954986, 0.0000, 0.0000, 123.7500);
- CreateObject(2780, 1618.303101, -1723.127686, 1.558439, 0.0000, 0.0000, 0.0000);
- CreateObject(1663, 1657.555908, -1767.327148, 3.418924, 0.0000, 0.0000, 146.2500);
- CreateObject(1663, 1652.292847, -1767.246094, 3.417638, 0.0000, 0.0000, 213.7500);
- CreateObject(1663, 1654.612549, -1766.609619, 3.418205, 0.0000, 0.0000, 168.7501);
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- main()
- {
- print(" ^^");
- }
- public OnGameModeInit()
- {
- fbi1 = CreateObject(980, 1618.643433, -1724.737671, 5.644395, 0.0000, 0.0000, 0.0000);
- fbi2 = CreateObject(974, 1678.955078, -1788.072876, 15.327768, 0.0000, 0.0000, 270.0000);
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(strcmp(cmdtext, "/fbiopen", true) == 0)
- {
- MoveObject(fbi1,1618.643433, -1724.737671, -3.243238, 5.00);
- SetTimer("timer", 5000, 0);
- SendClientMessage(playerid,COLOR_GREEN, "**Das FBI-Tor �ffnet sich.");
- return 1;
- }
- if(strcmp(cmdtext, "/fbihopen", true) == 0)
- {
- MoveObject(fbi2,1678.955078, -1788.072876, 88.7209, 2.00);
- SendClientMessage(playerid, COLOR_GREEN, "**Das FBI-Helitor �ffnet sich.");
- SetTimer("timer", 5000, 0);
- return 1;
- }
- return 0;
- }
- public timer()
- {
- MoveObject (fbi1,1618.643433, -1724.737671, 5.644395,5.00);
- MoveObject (fbi2,1678.955078, -1788.072876, 15.327768,5.00);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement