๐น๏ธGame Mode
The GameMode features allow easy access to certain parts of the current mission.
Global Variables
PlayerPed = PlayerPedId()
PlayerPosition = GetEntityCoords(PlayerPed)
PlayerGameId = PlayerId()
Helper = tableUsage
local whileFunc = function()
local dist = math.floor(#(PlayerPosition - vec3(1,1,1)))
if dist > 5 then
print("Not Hello!")
end
print("Hello")
endGlobal Functions
GM().GetGameVariales()
GM().SyncGameVariable()
Last updated
