Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Stand Lua:
- local GunVanTruckCoords = { {-29.532, 6435.136, 31.162}, {1705.214, 4819.167, 41.75}, {1795.522, 3899.753, 33.869}, {1335.536, 2758.746, 51.099}, {795.583, 1210.78, 338.962}, {-3192.67, 1077.205, 20.594}, {-789.719, 5400.921, 33.915}, {-24.384, 3048.167, 40.703}, {2666.786, 1469.324, 24.237}, {-1454.966, 2667.503, 3.2}, {2340.418, 3054.188, 47.888}, {1509.183, -2146.795, 76.853}, {1137.404, -1358.654, 34.322}, {-57.208, -2658.793, 5.737}, {1905.017, 565.222, 175.558}, {974.484, -1718.798, 30.296}, {779.077, -3266.297, 5.719}, {-587.728, -1637.208, 19.611}, {733.99, -736.803, 26.165}, {-1694.632, -454.082, 40.712}, {-1330.726, -1163.948, 4.313}, {-496.618, 40.231, 52.316}, {275.527, 66.509, 94.108}, {260.928, -763.35, 30.559}, {-478.025, -741.45, 30.299}, {894.94, 3603.911, 32.56}, {-2166.511, 4289.503, 48.733}, {1465.633, 6553.67, 13.771}, {1101.032, -335.172, 66.944}, {149.683, -1655.674, 29.028} }
- Root:action("Teleport To Gun Van", {}, "Teleports you to the gun van", function()
- Position = GetGlobalInt(2652364 + 2650)
- if not GunVanTruckCoords[Position + 1] then
- util.toast("This event is currently innactive")
- else
- Coord = GunVanTruckCoords[Position + 1]
- players.teleport_3d(players.user(), Coord[1], Coord[2], Coord[3])
- end
- end)
- Source (gunclub_shop.c):
- Vector3 func_13()//Position - 0x4E61
- {
- if (!func_15(Global_1956855))
- {
- return Global_1956855;
- }
- switch (func_14())
- {
- case 0:
- return -29.532f, 6435.136f, 31.162f;
- case 1:
- return 1705.214f, 4819.167f, 41.75f;
- case 2:
- return 1795.522f, 3899.753f, 33.869f;
- case 3:
- return 1335.536f, 2758.746f, 51.099f;
- case 4:
- return 795.583f, 1210.78f, 338.962f;
- case 5:
- return -3192.67f, 1077.205f, 20.594f;
- case 6:
- return -789.719f, 5400.921f, 33.915f;
- case 7:
- return -24.384f, 3048.167f, 40.703f;
- case 8:
- return 2666.786f, 1469.324f, 24.237f;
- case 9:
- return -1454.966f, 2667.503f, 3.2f;
- case 10:
- return 2340.418f, 3054.188f, 47.888f;
- case 11:
- return 1509.183f, -2146.795f, 76.853f;
- case 12:
- return 1137.404f, -1358.654f, 34.322f;
- case 13:
- return -57.208f, -2658.793f, 5.737f;
- case 14:
- return 1905.017f, 565.222f, 175.558f;
- case 15:
- return 974.484f, -1718.798f, 30.296f;
- case 16:
- return 779.077f, -3266.297f, 5.719f;
- case 17:
- return -587.728f, -1637.208f, 19.611f;
- case 18:
- return 733.99f, -736.803f, 26.165f;
- case 19:
- return -1694.632f, -454.082f, 40.712f;
- case 20:
- return -1330.726f, -1163.948f, 4.313f;
- case 21:
- return -496.618f, 40.231f, 52.316f;
- case 22:
- return 275.527f, 66.509f, 94.108f;
- case 23:
- return 260.928f, -763.35f, 30.559f;
- case 24:
- return -478.025f, -741.45f, 30.299f;
- case 25:
- return 894.94f, 3603.911f, 32.56f;
- case 26:
- return -2166.511f, 4289.503f, 48.733f;
- case 27:
- return 1465.633f, 6553.67f, 13.771f;
- case 28:
- return 1101.032f, -335.172f, 66.944f;
- case 29:
- return 149.683f, -1655.674f, 29.028f;
- default:
- }
- return 0f, 0f, 0f;
- }
- int func_14()//Position - 0x515C
- {
- return Global_2652364.f_2650;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement