Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Includes
- #tryinclude <YSI_Coding\y_hooks>
- forward iLoadMaps();
- public iLoadMaps()
- {
- //spawn
- CreateObject(970, 1811.65356, -1866.77124, 13.08650, 0.00000, 0.00000, 90.00000);
- CreateObject(970, 1811.64014, -1870.83484, 13.08650, 0.00000, 0.00000, 90.00000);
- CreateObject(970, 1809.52087, -1859.97144, 13.08650, 0.00000, 0.00000, 0.00000);
- CreateObject(970, 1805.38965, -1859.97803, 13.08650, 0.00000, 0.00000, 0.00000);
- CreateObject(970, 1801.23315, -1859.96960, 13.08650, 0.00000, 0.00000, 0.00000);
- CreateObject(970, 1797.09045, -1859.96948, 13.08650, 0.00000, 0.00000, 0.00000);
- CreateObject(970, 1788.90222, -1859.96375, 13.08650, 0.00000, 0.00000, 0.00000);
- CreateObject(970, 1792.89575, -1859.95959, 13.08650, 0.00000, 0.00000, 0.00000);
- CreateObject(970, 1785.66028, -1865.68164, 13.08650, 0.00000, 0.00000, 90.00000);
- CreateObject(970, 1785.66821, -1862.13330, 13.08650, 0.00000, 0.00000, 90.00000);
- CreateObject(970, 1787.82959, -1859.96228, 13.08650, 0.00000, 0.00000, 0.00000);
- CreateObject(1215, 1810.58997, -1872.73315, 12.57756, 0.00000, 0.00000, 0.00000);
- CreateObject(1215, 1810.91260, -1872.71777, 12.57756, 0.00000, 0.00000, 0.00000);
- CreateObject(1215, 1811.21716, -1872.71082, 12.57756, 0.00000, 0.00000, 0.00000);
- CreateObject(1215, 1811.47900, -1872.67603, 12.57756, 0.00000, 0.00000, 0.00000);
- CreateObject(2076, 1793.31873, -1868.88525, 14.44000, 0.00000, 0.00000, 0.00000);
- CreateObject(2076, 1806.43225, -1869.45166, 14.44000, 0.00000, 0.00000, 0.00000);
- CreateObject(2176, 1786.62012, -1860.77747, 13.31817, 0.00000, 0.00000, 0.00000);
- CreateObject(2176, 1795.23376, -1860.52478, 13.31817, 0.00000, 0.00000, 0.00000);
- CreateObject(2176, 1802.39270, -1860.48401, 13.31817, 0.00000, 0.00000, 0.00000);
- CreateObject(2176, 1810.90369, -1866.73938, 13.31817, 0.00000, 0.00000, 0.00000);
- CreateObject(2176, 1807.72229, -1860.44653, 13.31817, 0.00000, 0.00000, 0.00000);
- CreateObject(2176, 1787.34888, -1866.52612, 13.31817, 0.00000, 0.00000, 0.00000);
- return true;
- }
- //cu y_hooks, direct in include-ul tau
- hook OnGameModeInit() return iLoadMaps();
- //fara y_hooks, adaugi direct in OnGameModeInit, din gamemodeul tau (.pwn)
- public OnGameModeInit()
- {
- RemoveBuildingForPlayer(1226, 1808.1250, -1859.5391, 16.3516, 0.25); //stalp spawn
- iLoadMaps();
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement