🟪sam.Util.is_valid_map
Description
Check if map exists or not.
Aguments
- string map_name
Returns
Example
print(sam.Util.is_valid_map("gm_construct.bsp"))
-- output
true
print(sam.Util.is_valid_map("gm_construct"))
-- output
true
print(sam.Util.is_valid_map("noeufewfewuf24ijg2g2.bsp"))
-- output
false
Last updated
Was this helpful?