Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Credits all Go to Me (Dolfwagos)
- //Do not remove this piece
- #include <a_players>
- #include <a_samp>
- new Gate;
- #define Y 0xFFFF00AA
- #define R 0xAA3333AA
- public OnFilterScriptInit()
- {
- //------------------Created Objects-------------------------------
- CreateObject(8210, -333.93, 1508.52, 76.83, 0.00, 0.00, 359.56);
- CreateObject(8210, -376.56, 1508.53, 76.83, 0.00, 0.00, 359.56);
- CreateObject(8210, -403.87, 1535.15, 76.83, 0.00, 0.00, 89.15);
- CreateObject(8210, -396.01, 1588.57, 76.83, 0.00, 0.00, 74.10);
- CreateObject(8210, -364.47, 1624.13, 75.57, 0.00, 0.00, 23.86);
- CreateObject(8210, -318.35, 1617.11, 75.57, 0.00, 0.00, 317.73);
- CreateObject(8210, -277.13, 1579.73, 75.57, 0.00, 0.00, 317.73);
- CreateObject(8210, -257.42, 1561.68, 75.57, 0.00, 0.00, 317.73);
- CreateObject(8210, -260.78, 1528.70, 75.57, 0.00, 0.00, 209.92);
- CreateObject(8210, -272.90, 1521.36, 75.57, 0.00, 0.00, 209.92);
- CreateObject(3265, -308.55, 1502.86, 74.37, 0.00, 0.00, 0.00);
- CreateObject(3265, -291.75, 1457.08, 72.90, 0.00, 0.00, 0.00);
- CreateObject(1290, -311.22, 1538.45, 79.37, 0.00, 0.00, 0.00);
- CreateObject(1290, -289.25, 1535.05, 79.37, 0.00, 0.00, 0.00);
- CreateObject(1290, -294.32, 1491.97, 79.37, 0.00, 0.00, 0.00);
- CreateObject(1290, -357.86, 1565.79, 79.37, 0.00, 0.00, 0.00);
- CreateObject(1290, -307.20, 1473.77, 79.37, 0.00, 0.00, 0.00);
- CreateObject(1290, -290.26, 1452.83, 78.55, 0.00, 0.00, 0.00);
- CreateObject(1290, -302.43, 1435.58, 77.28, 0.00, 0.00, 0.00);
- CreateObject(1290, -288.36, 1406.03, 76.77, 0.00, 0.00, 0.00);
- CreateObject(8210, -396.01, 1588.57, 74.63, 0.00, 0.00, 74.10);
- CreateObject(8210, -364.47, 1624.13, 73.84, 0.00, 0.00, 23.86);
- CreateObject(8210, -318.35, 1617.11, 75.57, 0.00, 0.00, 317.73);
- CreateObject(8210, -318.35, 1617.11, 73.37, 0.00, 0.00, 317.73);
- CreateObject(8210, -335.24, 1508.50, 76.83, 0.00, 0.00, 359.56);
- CreateObject(3526, -346.61, 1573.97, 75.40, 0.00, 0.00, 0.00);
- CreateObject(3526, -325.97, 1594.72, 75.40, 0.00, 0.00, 0.00);
- CreateObject(3526, -346.73, 1615.02, 75.40, 0.00, 0.00, 0.00);
- CreateObject(3526, -368.08, 1594.90, 76.20, 0.00, 0.00, 0.00);
- CreateObject(2780, -296.87, 1506.99, 74.40, 0.00, 0.00, 328.98);
- CreateObject(2780, -307.73, 1506.53, 74.40, 0.00, 0.00, 58.63);
- CreateObject(3461, -295.25, 1497.86, 76.05, 0.00, 0.00, 0.00);
- CreateObject(3461, -307.79, 1498.03, 76.05, 0.00, 0.00, 0.00);
- CreateObject(3461, -306.96, 1489.06, 76.05, 0.00, 0.00, 0.00);
- CreateObject(3461, -294.60, 1489.56, 76.05, 0.00, 0.00, 0.00);
- CreateObject(1278, -347.53, 1561.33, 86.09, 0.00, 0.00, 166.02);
- CreateObject(1278, -313.44, 1595.54, 86.09, 0.00, 0.00, 275.15);
- CreateObject(1278, -347.23, 1629.55, 86.09, 0.00, 0.00, 4.91);
- CreateObject(1278, -381.39, 1595.54, 86.09, 0.00, 0.00, 106.26);
- CreateObject(2892, -360.46, 1532.29, 74.33, 0.00, 0.00, 339.27);
- CreateObject(2589, -344.97, 1546.42, 79.90, 0.00, 0.00, 0.00);
- CreateObject(2589, -341.39, 1546.15, 79.90, 0.00, 0.00, 0.00);
- CreateObject(2589, -344.79, 1542.87, 79.90, 0.00, 0.00, 0.00);
- CreateObject(2589, -341.22, 1542.79, 79.90, 0.00, 0.00, 0.00);
- CreateObject(2589, -341.36, 1540.24, 80.13, 0.00, 0.00, 0.00);
- CreateObject(2589, -344.63, 1540.62, 79.90, 0.00, 0.00, 0.00);
- CreateObject(8210, -333.93, 1508.52, 76.83, 0.00, 0.00, 359.56);
- CreateObject(1686, -299.61, 1535.44, 74.50, 0.00, 0.00, 89.25);
- CreateObject(1686, -296.66, 1535.35, 74.50, 0.00, 0.00, 89.25);
- CreateObject(1622, -317.07, 1537.11, 78.11, 0.00, 0.00, 110.33);
- CreateObject(1622, -336.03, 1537.12, 78.11, 0.00, 0.00, 110.33);
- CreateObject(13592, -260.19, 1519.03, 84.12, 0.00, 0.00, 218.13);
- CreateObject(1225, -346.95, 1511.90, 74.70, 0.00, 0.00, 0.00);
- CreateObject(1225, -347.05, 1513.23, 74.70, 0.00, 0.00, 0.00);
- CreateObject(1225, -347.05, 1514.57, 74.70, 0.00, 0.00, 0.00);
- CreateObject(1225, -347.02, 1515.97, 74.70, 0.00, 0.00, 0.00);
- CreateObject(1225, -347.06, 1517.24, 74.70, 0.00, 0.00, 0.00);
- CreateObject(1290, -303.65, 1404.46, 76.77, 0.00, 0.00, 0.00);
- CreateObject(1290, -303.56, 1388.52, 76.77, 0.00, 0.00, 277.11);
- CreateObject(1290, -326.71, 1400.89, 75.00, 0.00, 0.00, 220.87);
- CreateObject(1290, -323.06, 1426.86, 71.60, 0.00, 0.00, 220.87);
- CreateObject(1290, -341.51, 1429.06, 71.60, 0.00, 0.00, 220.87);
- CreateObject(1290, -336.84, 1451.48, 70.05, 0.00, 0.00, 220.87);
- CreateObject(1290, -354.74, 1453.04, 69.22, 0.00, 0.00, 220.87);
- CreateObject(2942, -305.10, 1538.39, 75.20, 0.00, 0.00, 314.45);
- CreateObject(2828, -314.48, 1536.78, 75.33, 0.00, 0.00, 189.84);
- CreateObject(1432, -314.54, 1536.91, 74.70, 0.00, 0.00, 0.00);
- CreateObject(8210, -333.93, 1508.52, 76.83, 0.00, 0.00, 359.56);
- Gate=CreateObject(971, -301.64, 1507.90, 77.91, 0.00, 0.00, 0.00);
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp(cmdtext,"/open", true, 5) ==0) //----you can change "/open" to anything of your choice
- {
- MoveObject(Gate, -310.7321, 1507.9795, 77.9132 , 3);
- SendClientMessage(playerid,R," You opened the gate"); //----you can change this message to anything of your choice
- return 1;
- }
- if (strcmp(cmdtext,"/close", true, 6) ==0) //----you can change "/close" to anything of your choice
- {
- MoveObject(Gate, -301.6442, 1507.8981, 77.9132 , 3);
- SendClientMessage(playerid,R,"You closed the Gate"); //----you can change this message to anything of your choice
- return 1;
- }
- if (strcmp(cmdtext,"/Changeme", true, 10) ==0) //----change this command to anything you want
- {
- SetPlayerPos(playerid, -301.0754, 1498.2305, 75.3909);
- SendClientMessage(playerid,Y,"---------Change Me--------"); //----change this message
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment