Garry's Mod Wiki

Revision Difference

game.GetMapVersion#526468

<function name="GetMapVersion" parent="game" type="libraryfunc"> <description>Returns the VBSP version of the current map. </description> <realm>Server</realm> <rets> <ret name="" type="number">mapVersion</ret>⤶ <ret name="" type="number">VBSP version of the currently loaded map, will be either 19, 20 or 21 for L4D1+ maps</ret>⤶ </rets> </function>