Guest User

Casa Personalizada do Mad Dog

a guest
May 12th, 2013
566
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.10 KB | None | 0 0
  1. #include <a_samp>
  2. #include <core>
  3. #include <float>
  4. #include <a_objects>
  5.  
  6. new p1;
  7. new p2;
  8.  
  9. main()
  10. {
  11. print("\n----------------------------------");
  12. print("-MADD DOGG HOUSE by: [EXP]Ramires-\n");
  13. print("----------------------------------\n");
  14. return 0;
  15. }
  16.  
  17. public OnGameModeInit()
  18. {
  19. CreateObject(987, 1268.468506, -833.763245, 83.137634, 0.0000, 0.0000, 0.0000);
  20. CreateObject(987, 1280.437988, -833.747009, 83.137634, 0.0000, 0.0000, 0.0000);
  21. CreateObject(987, 1283.073120, -833.768188, 83.137634, 0.0000, 0.0000, 0.0000);
  22. CreateObject(987, 1294.824097, -833.745361, 83.137634, 0.0000, 0.0000, 90.0000);
  23. CreateObject(987, 1268.525391, -821.983582, 83.137619, 0.0000, 0.0000, 270.0000);
  24. CreateObject(1645, 1273.288330, -799.413879, 87.647263, 0.0000, 0.0000, 0.0000);
  25. CreateObject(1645, 1276.186157, -799.520264, 87.647263, 0.0000, 0.0000, 0.0000);
  26. CreateObject(1645, 1279.201782, -799.483887, 87.647263, 0.0000, 0.0000, 0.0000);
  27. CreateObject(1646, 1282.722778, -799.545898, 87.652550, 0.0000, 0.0000, 0.0000);
  28. CreateObject(1646, 1286.087891, -799.451233, 87.652550, 0.0000, 0.0000, 0.0000);
  29. CreateObject(628, 1268.683594, -821.252625, 85.010483, 0.0000, 0.0000, 0.0000);
  30. CreateObject(987, 1239.193726, -768.094727, 92.392097, 0.0000, 6.0161, 270.0000);
  31. CreateObject(987, 1239.175781, -780.206360, 91.284882, 0.0000, 6.0161, 270.0000);
  32. CreateObject(987, 1251.833130, -780.307983, 92.347610, 0.0000, 0.0000, 90.0000);
  33. CreateObject(987, 1251.819702, -791.922363, 92.313927, 0.0000, 0.0000, 90.0000);
  34. CreateObject(615, 1250.705933, -768.651428, 91.175400, 0.0000, 0.0000, 0.0000);
  35. CreateObject(615, 1240.517334, -768.573730, 91.592369, 0.0000, 0.0000, 0.0000);
  36. CreateObject(987, 1252.132690, -767.101685, 91.061661, 0.0000, 0.0000, 359.1406);
  37. CreateObject(987, 1264.062988, -767.342712, 91.100769, 0.0000, 0.0000, 0.0000);
  38. CreateObject(987, 1273.686890, -767.474976, 91.063812, 0.0000, 0.0000, 0.8594);
  39. CreateObject(987, 1294.897217, -833.650208, 76.264336, 0.0000, 5.1566, 38.8293);
  40. CreateObject(987, 1303.754395, -825.539795, 74.735184, 0.0000, 350.5462, 90.8594);
  41. CreateObject(987, 1305.412109, -789.030273, 83.271904, 0.0000, 0.0000, 282.8916);
  42. CreateObject(987, 1303.122803, -801.649719, 83.140625, 0.0000, 0.0000, 270.0000);
  43. CreateObject(987, 1303.095215, -813.221252, 83.140625, 0.0000, 0.0000, 226.7189);
  44. CreateObject(987, 1295.027222, -772.619263, 94.818939, 0.0000, 0.0000, 180.0000);
  45. CreateObject(987, 1283.197388, -772.389771, 94.887360, 0.0000, 0.0000, 180.0000);
  46. CreateObject(987, 1271.337402, -772.174622, 94.961479, 0.0000, 0.0000, 180.0000);
  47. CreateObject(987, 1259.361572, -771.575806, 94.842430, 0.0000, 0.0000, 269.9999);
  48. CreateObject(987, 1259.316284, -776.103882, 94.963135, 0.0000, 0.0000, 270.0000);
  49. CreateObject(987, 1259.313477, -787.657349, 94.963135, 0.0000, 0.0000, 0.0000);
  50. CreateObject(987, 1277.846069, -783.840454, 94.975365, 0.0000, 0.0000, 180.0000);
  51. CreateObject(615, 1307.409790, -801.781372, 83.134460, 0.0000, 0.0000, 0.0000);
  52. CreateObject(615, 1303.200806, -802.612671, 83.134460, 0.0000, 0.0000, 337.5000);
  53. CreateObject(3550, 1278.398193, -791.410278, 97.827950, 0.0000, 0.0000, 11.2500);
  54. CreateObject(3550, 1280.671021, -795.964294, 97.827950, 0.0000, 0.0000, 33.7500);
  55. CreateObject(3550, 1284.886353, -799.699036, 97.827950, 0.0000, 0.0000, 56.2500);
  56. CreateObject(3550, 1290.187622, -801.204773, 97.827950, 0.0000, 0.0000, 90.0000);
  57. CreateObject(3550, 1295.474365, -800.092773, 97.827950, 0.0000, 0.0000, 112.5000);
  58. CreateObject(3550, 1300.695923, -797.918945, 97.827950, 0.0000, 0.0000, 308.9840);
  59. CreateObject(3550, 1304.219604, -793.135742, 97.920479, 0.0000, 0.0000, 337.5000);
  60. CreateObject(3550, 1304.879272, -787.280518, 97.822456, 0.0000, 0.0000, 11.2500);
  61. CreateObject(3550, 1303.128052, -781.518250, 97.822456, 0.0000, 0.0000, 22.5000);
  62. CreateObject(3550, 1299.424072, -776.952271, 97.827950, 0.0000, 0.0000, 56.2500);
  63. CreateObject(3550, 1294.468872, -773.849182, 97.827950, 0.0000, 0.0000, 56.2500);
  64. CreateObject(3550, 1291.670776, -775.109802, 97.827950, 0.0000, 0.0000, 270.0000);
  65. CreateObject(3550, 1286.164673, -776.251587, 97.827950, 0.0000, 0.0000, 292.5000);
  66. CreateObject(3550, 1277.781860, -787.050598, 97.827950, 0.0000, 0.0000, 348.7500);
  67. CreateObject(3550, 1281.416260, -778.498108, 97.827950, 0.0000, 0.0000, 135.0000);
  68. p1 = CreateObject(5302, 1305.993896, -802.381714, 85.464409, 0.0000, 0.0000, 90.0001);
  69. p2 = CreateObject(980, 1245.513672, -767.367004, 93.821457, 0.0000, 0.0000, 0.0000);
  70. return 1;
  71. }
  72.  
  73. public OnPlayerCommandText(playerid, cmdtext[])
  74. {
  75.  
  76. if (strcmp(cmdtext, "/aporta", true) ==0)
  77. {
  78. MoveObject(p1,1305.952393, -802.444519, 90.017860,1); //CORDENADAS DELE ABERTO
  79. return 1;
  80. }
  81. if (strcmp(cmdtext, "/fporta", true) ==0)
  82. {
  83. MoveObject(p1,1305.993896, -802.381714, 85.464409,1); //CORDENADAS DELE FECHADO
  84. return 1;
  85. }
  86.  
  87.  
  88. if (strcmp(cmdtext, "/aportao", true) ==0)
  89. {
  90. MoveObject(p2,1245.454590, -767.371582, 88.105598,1); //CORDENADAS DELE ABERTO
  91. return 1;
  92. }
  93. if (strcmp(cmdtext, "/fportao", true) ==0)
  94. {
  95. MoveObject(p2,1245.513672, -767.367004, 93.821457,1); //CORDENADAS DELE FECHADO
  96. return 1;
  97. }
  98.  
  99. return 0;
  100. }
Advertisement
Add Comment
Please, Sign In to add comment