Guest User

Untitled

a guest
Jul 1st, 2009
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. #include <a_samp>
  2. #define FILTERSCRIPT
  3.  
  4. new HighL;
  5. new HighR;
  6.  
  7. public OnFilterScriptInit()
  8. {
  9. CreateObject(987, -708.594788, 973.504822, 11.466128, 0.0000, 0.0000, 0.0000);
  10. CreateObject(987, -696.194641, 961.703552, 11.466128, 0.0000, 0.0000, 179.6223);
  11. CreateObject(987, -708.244446, 961.754578, 11.466128, 0.0000, 0.0000, 92.8192);
  12. CreateObject(987, -709.058044, 973.360901, 16.805155, 274.0563, 0.0000, 272.4414);
  13. CreateObject(987, -704.233215, 973.460999, 17.155149, 274.0563, 0.0000, 272.4414);
  14. CreateObject(987, -696.107605, 961.686218, 16.930153, 274.0563, 0.0000, 91.2041);
  15. HighL = CreateObject(986, -696.902100, 970.821655, 12.764025, 0.0000, 0.0000, 273.1969);
  16. HighR = CreateObject(985, -696.517273, 962.919434, 12.792183, 0.0000, 0.0000, 271.4780);
  17. return 1;
  18. }
  19. public OnPlayerCommandText(playerid, cmdtext[])
  20. {
  21. if (strcmp("/cageopen", cmdtext, true, 10) == 0)
  22. {
  23. MoveObject(HighR,-696.517273, 962.919434, 1.692176,1);
  24. MoveObject(HighL,-696.877075, 970.796631, 1.689027,1);
  25. return 1;
  26. }
  27. if (strcmp("/cageclose", cmdtext, true, 10) == 0)
  28. {
  29. MoveObject(HighL,-696.902100, 970.821655, 12.764025,1);
  30. MoveObject(HighR,-696.517273, 962.919434, 12.792183,1);
  31. return 1;
  32. }
  33. return 0;
  34. }
  35.  
Advertisement
Add Comment
Please, Sign In to add comment