Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #define FILTERSCRIPT
- new HighL;
- new HighR;
- public OnFilterScriptInit()
- {
- CreateObject(987, -708.594788, 973.504822, 11.466128, 0.0000, 0.0000, 0.0000);
- CreateObject(987, -696.194641, 961.703552, 11.466128, 0.0000, 0.0000, 179.6223);
- CreateObject(987, -708.244446, 961.754578, 11.466128, 0.0000, 0.0000, 92.8192);
- CreateObject(987, -709.058044, 973.360901, 16.805155, 274.0563, 0.0000, 272.4414);
- CreateObject(987, -704.233215, 973.460999, 17.155149, 274.0563, 0.0000, 272.4414);
- CreateObject(987, -696.107605, 961.686218, 16.930153, 274.0563, 0.0000, 91.2041);
- HighL = CreateObject(986, -696.902100, 970.821655, 12.764025, 0.0000, 0.0000, 273.1969);
- HighR = CreateObject(985, -696.517273, 962.919434, 12.792183, 0.0000, 0.0000, 271.4780);
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/cageopen", cmdtext, true, 10) == 0)
- {
- MoveObject(HighR,-696.517273, 962.919434, 1.692176,1);
- MoveObject(HighL,-696.877075, 970.796631, 1.689027,1);
- return 1;
- }
- if (strcmp("/cageclose", cmdtext, true, 10) == 0)
- {
- MoveObject(HighL,-696.902100, 970.821655, 12.764025,1);
- MoveObject(HighR,-696.517273, 962.919434, 12.792183,1);
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment