GetServerPath
From Onset Developer Wiki
Description
Gets the absolute path to the server executable.
Syntax
GetServerPath()
Parameters
- This function has no parameters.
Return Value
- Returns the absolute path to the server as a string
Example
function OnPackageStart()
print("Running from directory", GetServerPath())
end
AddEvent("OnPackageStart", OnPackageStart)