Advertisement
jlalt

ez

Mar 17th, 2017
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 4.42 KB | None | 0 0
  1. #include a_samp
  2. #include streamer  
  3. #include zcmd
  4.  
  5. new boxr1,boxr2,boxr3,boxr4;
  6.  
  7. public OnFilterScriptInit()
  8. {
  9.     CreateDynamicObject(14789, 1083.59998, 1556.40002, 9.10000,   0.00000, 0.00000, 0.00000);
  10.     CreateDynamicObject(14787, 1095.80005, 1552.09998, 5.00000,   0.00000, 0.00000, 0.00000);
  11.     CreateDynamicObject(14781, 1096.59998, 1545.40002, 6.10000,   0.00000, 0.00000, 0.00000);
  12.     CreateDynamicObject(3461, 1094.50000, 1548.50000, 4.30000,   0.00000, 0.00000, 0.00000);
  13.     CreateDynamicObject(3461, 1099.30005, 1548.30005, 4.10000,   0.00000, 0.00000, 0.00000);
  14.     CreateDynamicObject(3461, 1094.50000, 1543.40002, 4.30000,   0.00000, 0.00000, 0.00000);
  15.     CreateDynamicObject(3461, 1099.50000, 1543.40002, 4.30000,   0.00000, 0.00000, 0.00000);
  16.     CreateDynamicObject(2747, 1098.19995, 1553.40002, 5.30000,   0.00000, 0.00000, 0.00000);
  17.     CreateDynamicObject(2747, 1097.09998, 1553.40002, 5.30000,   0.00000, 0.00000, 0.00000);
  18.     CreateDynamicObject(1671, 1096.69995, 1554.30005, 5.30000,   0.00000, 0.00000, 0.00000);
  19.     CreateDynamicObject(1671, 1098.50000, 1554.29980, 5.30000,   0.00000, 0.00000, 0.00000);
  20.     CreateDynamicObject(1671, 1097.59961, 1554.29980, 5.30000,   0.00000, 0.00000, 0.00000);
  21.     CreateDynamicObject(1778, 1104.69995, 1532.50000, 4.90000,   0.00000, 0.00000, 0.00000);
  22.     CreateDynamicObject(1775, 1083.40002, 1556.59998, 6.00000,   0.00000, 0.00000, 90.00000);
  23.     CreateDynamicObject(1775, 1083.29980, 1558.00000, 6.00000,   0.00000, 0.00000, 90.00000);
  24.     CreateDynamicObject(1775, 1083.40002, 1555.09998, 6.00000,   0.00000, 0.00000, 90.00000);
  25.     CreateDynamicObject(1302, 1083.19995, 1544.50000, 4.90000,   0.00000, 0.00000, 90.00000);
  26.     CreateDynamicObject(1302, 1083.19995, 1543.30005, 4.90000,   0.00000, 0.00000, 88.75000);
  27.     CreateDynamicObject(1776, 1083.19995, 1541.90002, 6.00000,   0.00000, 0.00000, 90.00000);
  28.     CreateDynamicObject(1776, 1083.19995, 1540.50000, 6.00000,   0.00000, 0.00000, 90.00000);
  29.     CreateDynamicObject(3819, 1105.09998, 1546.09998, 5.90000,   0.00000, 0.00000, 0.00000);
  30.     CreateDynamicObject(3819, 1097.20020, 1537.09961, 5.90000,   0.00000, 0.00000, 270.00000);
  31.     CreateDynamicObject(3819, 1088.59998, 1545.40002, 5.90000,   0.00000, 0.00000, 180.00000);
  32.     CreateDynamicObject(1985, 1096.90002, 1561.00000, 8.30000,   0.00000, 0.00000, 0.00000);
  33.     CreateDynamicObject(1985, 1096.80005, 1559.40002, 8.30000,   0.00000, 0.00000, 0.00000);
  34.     CreateDynamicObject(1985, 1094.29980, 1559.40039, 8.30000,   0.00000, 0.00000, 0.00000);
  35.     CreateDynamicObject(1985, 1094.29980, 1560.70020, 8.30000,   0.00000, 0.00000, 0.00000);
  36.     CreateDynamicObject(1536, 1102.50000, 1532.00000, 4.80000,   0.00000, 0.00000, 0.00000);
  37.     boxr1 = CreateDynamicObject(971, 1096.90002, 1550.50000, 7.40000,   0.00000, 0.00000, 180.00000);
  38.     boxr2 = CreateDynamicObject(971, 1096.90002, 1541.69995, 7.40000,   0.00000, 0.00000, 0.00000);
  39.     boxr3 = CreateDynamicObject(971, 1101.30005, 1546.09998, 7.40000,   0.00000, 0.00000, 90.00000);
  40.     boxr4 = CreateDynamicObject(971, 1092.50000, 1546.19995, 7.40000,   0.00000, 0.00000, 270.00000);
  41.     return 1;
  42. }
  43. CMD:box2o(playerid,params) {
  44.     new Float:X, Float:Y, Float:Z;
  45.     GetDynamicObjectRot(boxr1, X, Y, Z);
  46.     MoveDynamicObject(boxr1, 1096.90002, 1550.50000, 7.40000, 1, X, Y, Z);
  47.     GetDynamicObjectRot(boxr2, X, Y, Z);
  48.     MoveDynamicObject(boxr2, 1096.90002, 1541.69995, 7.40000, 1, X, Y, Z);
  49.     GetDynamicObjectRot(boxr3, X, Y, Z);
  50.     MoveDynamicObject(boxr3, 1101.30005, 1546.09998, 7.40000, 1, X, Y, Z);
  51.     GetDynamicObjectRot(boxr4, X, Y, Z);
  52.     MoveDynamicObject(boxr4, 1092.50000, 1546.19995, 7.40000, 1, X, Y, Z);
  53.     SendClientMessage(playerid, 0xFF0000AA, "Fucking opened");
  54.     return 1;
  55. }
  56. CMD:box2c(playerid,params) {
  57.     new Float:X, Float:Y, Float:Z;
  58.     GetDynamicObjectRot(boxr1, X, Y, Z);
  59.     MoveDynamicObject(boxr1, 1096.90002, 1550.50000, 0, 2);
  60.     GetDynamicObjectRot(boxr2, X, Y, Z);
  61.     MoveDynamicObject(boxr2, 1096.90002, 1541.69995, 0, 2);
  62.     GetDynamicObjectRot(boxr3, X, Y, Z);
  63.     MoveDynamicObject(boxr3, 1101.30005, 1546.09998, 0, 2);
  64.     GetDynamicObjectRot(boxr4, X, Y, Z);
  65.     MoveDynamicObject(boxr4, 1092.50000, 1546.19995, 0, 2);
  66.     SendClientMessage(playerid, 0xFF0000AA, "Fucking closed");
  67.     return 1;
  68. }
  69. CMD:boxing2(playerid,params) { // Isn't the one which will be added to servers!
  70.     new string[166];
  71.     SetPlayerPos(playerid,1086.6,1562.0,5.8);
  72.     format(string,sizeof string,"ร‚ยป %s has teleported to boxing ramp 2! {FF0000}[/boxing2]");
  73.     SendClientMessageToAll(0xC1C1C1AA,string);
  74.     return 1;
  75. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement