Garry's Mod Wiki

Revision Difference

game.GetMapVersion#548020

<function name="GetMapVersion" parent="game" type="libraryfunc"> <description>Returns the VBSP version of the current map. <bug issue=5350>Returns the value at offset 0x408 instead of the actual map version</bug>⤶ <description>Returns the revision (Not to be confused with [VBSP Version](https://developer.valvesoftware.com/wiki/Source_BSP_File_Format#Versions)) of the current map. </description> <realm>Server</realm> <rets> <ret name="" type="number">[VBSP Version](https://developer.valvesoftware.com/wiki/Source_BSP_File_Format#Versions) of the currently loaded map. </ret> <ret name="" type="number">Revision of the currently loaded map. </ret> </rets> </function>