Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <core>
- #include <float>
- #include <a_objects>
- new p1;
- new p2;
- main()
- {
- print("\n----------------------------------");
- print("-MADD DOGG HOUSE by: [EXP]Ramires-\n");
- print("----------------------------------\n");
- return 0;
- }
- public OnGameModeInit()
- {
- CreateObject(987, 1268.468506, -833.763245, 83.137634, 0.0000, 0.0000, 0.0000);
- CreateObject(987, 1280.437988, -833.747009, 83.137634, 0.0000, 0.0000, 0.0000);
- CreateObject(987, 1283.073120, -833.768188, 83.137634, 0.0000, 0.0000, 0.0000);
- CreateObject(987, 1294.824097, -833.745361, 83.137634, 0.0000, 0.0000, 90.0000);
- CreateObject(987, 1268.525391, -821.983582, 83.137619, 0.0000, 0.0000, 270.0000);
- CreateObject(1645, 1273.288330, -799.413879, 87.647263, 0.0000, 0.0000, 0.0000);
- CreateObject(1645, 1276.186157, -799.520264, 87.647263, 0.0000, 0.0000, 0.0000);
- CreateObject(1645, 1279.201782, -799.483887, 87.647263, 0.0000, 0.0000, 0.0000);
- CreateObject(1646, 1282.722778, -799.545898, 87.652550, 0.0000, 0.0000, 0.0000);
- CreateObject(1646, 1286.087891, -799.451233, 87.652550, 0.0000, 0.0000, 0.0000);
- CreateObject(628, 1268.683594, -821.252625, 85.010483, 0.0000, 0.0000, 0.0000);
- CreateObject(987, 1239.193726, -768.094727, 92.392097, 0.0000, 6.0161, 270.0000);
- CreateObject(987, 1239.175781, -780.206360, 91.284882, 0.0000, 6.0161, 270.0000);
- CreateObject(987, 1251.833130, -780.307983, 92.347610, 0.0000, 0.0000, 90.0000);
- CreateObject(987, 1251.819702, -791.922363, 92.313927, 0.0000, 0.0000, 90.0000);
- CreateObject(615, 1250.705933, -768.651428, 91.175400, 0.0000, 0.0000, 0.0000);
- CreateObject(615, 1240.517334, -768.573730, 91.592369, 0.0000, 0.0000, 0.0000);
- CreateObject(987, 1252.132690, -767.101685, 91.061661, 0.0000, 0.0000, 359.1406);
- CreateObject(987, 1264.062988, -767.342712, 91.100769, 0.0000, 0.0000, 0.0000);
- CreateObject(987, 1273.686890, -767.474976, 91.063812, 0.0000, 0.0000, 0.8594);
- CreateObject(987, 1294.897217, -833.650208, 76.264336, 0.0000, 5.1566, 38.8293);
- CreateObject(987, 1303.754395, -825.539795, 74.735184, 0.0000, 350.5462, 90.8594);
- CreateObject(987, 1305.412109, -789.030273, 83.271904, 0.0000, 0.0000, 282.8916);
- CreateObject(987, 1303.122803, -801.649719, 83.140625, 0.0000, 0.0000, 270.0000);
- CreateObject(987, 1303.095215, -813.221252, 83.140625, 0.0000, 0.0000, 226.7189);
- CreateObject(987, 1295.027222, -772.619263, 94.818939, 0.0000, 0.0000, 180.0000);
- CreateObject(987, 1283.197388, -772.389771, 94.887360, 0.0000, 0.0000, 180.0000);
- CreateObject(987, 1271.337402, -772.174622, 94.961479, 0.0000, 0.0000, 180.0000);
- CreateObject(987, 1259.361572, -771.575806, 94.842430, 0.0000, 0.0000, 269.9999);
- CreateObject(987, 1259.316284, -776.103882, 94.963135, 0.0000, 0.0000, 270.0000);
- CreateObject(987, 1259.313477, -787.657349, 94.963135, 0.0000, 0.0000, 0.0000);
- CreateObject(987, 1277.846069, -783.840454, 94.975365, 0.0000, 0.0000, 180.0000);
- CreateObject(615, 1307.409790, -801.781372, 83.134460, 0.0000, 0.0000, 0.0000);
- CreateObject(615, 1303.200806, -802.612671, 83.134460, 0.0000, 0.0000, 337.5000);
- CreateObject(3550, 1278.398193, -791.410278, 97.827950, 0.0000, 0.0000, 11.2500);
- CreateObject(3550, 1280.671021, -795.964294, 97.827950, 0.0000, 0.0000, 33.7500);
- CreateObject(3550, 1284.886353, -799.699036, 97.827950, 0.0000, 0.0000, 56.2500);
- CreateObject(3550, 1290.187622, -801.204773, 97.827950, 0.0000, 0.0000, 90.0000);
- CreateObject(3550, 1295.474365, -800.092773, 97.827950, 0.0000, 0.0000, 112.5000);
- CreateObject(3550, 1300.695923, -797.918945, 97.827950, 0.0000, 0.0000, 308.9840);
- CreateObject(3550, 1304.219604, -793.135742, 97.920479, 0.0000, 0.0000, 337.5000);
- CreateObject(3550, 1304.879272, -787.280518, 97.822456, 0.0000, 0.0000, 11.2500);
- CreateObject(3550, 1303.128052, -781.518250, 97.822456, 0.0000, 0.0000, 22.5000);
- CreateObject(3550, 1299.424072, -776.952271, 97.827950, 0.0000, 0.0000, 56.2500);
- CreateObject(3550, 1294.468872, -773.849182, 97.827950, 0.0000, 0.0000, 56.2500);
- CreateObject(3550, 1291.670776, -775.109802, 97.827950, 0.0000, 0.0000, 270.0000);
- CreateObject(3550, 1286.164673, -776.251587, 97.827950, 0.0000, 0.0000, 292.5000);
- CreateObject(3550, 1277.781860, -787.050598, 97.827950, 0.0000, 0.0000, 348.7500);
- CreateObject(3550, 1281.416260, -778.498108, 97.827950, 0.0000, 0.0000, 135.0000);
- p1 = CreateObject(5302, 1305.993896, -802.381714, 85.464409, 0.0000, 0.0000, 90.0001);
- p2 = CreateObject(980, 1245.513672, -767.367004, 93.821457, 0.0000, 0.0000, 0.0000);
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp(cmdtext, "/aporta", true) ==0)
- {
- MoveObject(p1,1305.952393, -802.444519, 90.017860,1); //CORDENADAS DELE ABERTO
- return 1;
- }
- if (strcmp(cmdtext, "/fporta", true) ==0)
- {
- MoveObject(p1,1305.993896, -802.381714, 85.464409,1); //CORDENADAS DELE FECHADO
- return 1;
- }
- if (strcmp(cmdtext, "/aportao", true) ==0)
- {
- MoveObject(p2,1245.454590, -767.371582, 88.105598,1); //CORDENADAS DELE ABERTO
- return 1;
- }
- if (strcmp(cmdtext, "/fportao", true) ==0)
- {
- MoveObject(p2,1245.513672, -767.367004, 93.821457,1); //CORDENADAS DELE FECHADO
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment