DoesPakExist
From Onset Developer Wiki
Description
Checks if a pak with the specified name exists.
Syntax
DoesPakExist(PakName)
Parameters
- PakName
The name of the Pak file without extension.
Return Value
- Returns true when the Pak exsits.
Example
local pakname = "TestMod"
print("Pak exists: ".. DoesPakExist(pakname) and "True" or "False" .. ".")