Garry's Mod Wiki

Revision Difference

game.GetMapVersion#548015

<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">VBSP version of the currently loaded map, will be either 19, 20 or 21 for L4D1+ maps</ret>⤶ <ret name="" type="number">[VBSP Version](https://developer.valvesoftware.com/wiki/Source_BSP_File_Format#Versions) of the currently loaded map. </ret>⤶ </rets> </function>