Advertisement
Guest User

Untitled

a guest
Oct 26th, 2021
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. //Includes
  2. #tryinclude <YSI_Coding\y_hooks>
  3.  
  4. forward iLoadMaps();
  5. public iLoadMaps()
  6. {
  7. //spawn
  8. CreateObject(970, 1811.65356, -1866.77124, 13.08650, 0.00000, 0.00000, 90.00000);
  9. CreateObject(970, 1811.64014, -1870.83484, 13.08650, 0.00000, 0.00000, 90.00000);
  10. CreateObject(970, 1809.52087, -1859.97144, 13.08650, 0.00000, 0.00000, 0.00000);
  11. CreateObject(970, 1805.38965, -1859.97803, 13.08650, 0.00000, 0.00000, 0.00000);
  12. CreateObject(970, 1801.23315, -1859.96960, 13.08650, 0.00000, 0.00000, 0.00000);
  13. CreateObject(970, 1797.09045, -1859.96948, 13.08650, 0.00000, 0.00000, 0.00000);
  14. CreateObject(970, 1788.90222, -1859.96375, 13.08650, 0.00000, 0.00000, 0.00000);
  15. CreateObject(970, 1792.89575, -1859.95959, 13.08650, 0.00000, 0.00000, 0.00000);
  16. CreateObject(970, 1785.66028, -1865.68164, 13.08650, 0.00000, 0.00000, 90.00000);
  17. CreateObject(970, 1785.66821, -1862.13330, 13.08650, 0.00000, 0.00000, 90.00000);
  18. CreateObject(970, 1787.82959, -1859.96228, 13.08650, 0.00000, 0.00000, 0.00000);
  19. CreateObject(1215, 1810.58997, -1872.73315, 12.57756, 0.00000, 0.00000, 0.00000);
  20. CreateObject(1215, 1810.91260, -1872.71777, 12.57756, 0.00000, 0.00000, 0.00000);
  21. CreateObject(1215, 1811.21716, -1872.71082, 12.57756, 0.00000, 0.00000, 0.00000);
  22. CreateObject(1215, 1811.47900, -1872.67603, 12.57756, 0.00000, 0.00000, 0.00000);
  23. CreateObject(2076, 1793.31873, -1868.88525, 14.44000, 0.00000, 0.00000, 0.00000);
  24. CreateObject(2076, 1806.43225, -1869.45166, 14.44000, 0.00000, 0.00000, 0.00000);
  25. CreateObject(2176, 1786.62012, -1860.77747, 13.31817, 0.00000, 0.00000, 0.00000);
  26. CreateObject(2176, 1795.23376, -1860.52478, 13.31817, 0.00000, 0.00000, 0.00000);
  27. CreateObject(2176, 1802.39270, -1860.48401, 13.31817, 0.00000, 0.00000, 0.00000);
  28. CreateObject(2176, 1810.90369, -1866.73938, 13.31817, 0.00000, 0.00000, 0.00000);
  29. CreateObject(2176, 1807.72229, -1860.44653, 13.31817, 0.00000, 0.00000, 0.00000);
  30. CreateObject(2176, 1787.34888, -1866.52612, 13.31817, 0.00000, 0.00000, 0.00000);
  31. return true;
  32. }
  33.  
  34. //cu y_hooks, direct in include-ul tau
  35. hook OnGameModeInit() return iLoadMaps();
  36.  
  37. //fara y_hooks, adaugi direct in OnGameModeInit, din gamemodeul tau (.pwn)
  38. public OnGameModeInit()
  39. {
  40. RemoveBuildingForPlayer(1226, 1808.1250, -1859.5391, 16.3516, 0.25); //stalp spawn
  41.  
  42. iLoadMaps();
  43.  
  44. return true;
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement