Garry's Mod Wiki


steamworks.VoteInfo( string workshopItemID, function resultCallback )


We advise against using this. It may be changed or removed in a future update. Use data steamworks.FileInfo instead.

Retrieves vote info of supplied addon.


1 string workshopItemID
The ID of workshop item.
2 function resultCallback
The function to process retrieved data. The first and only argument is a table, containing all the info.


Retrieves vote info of Gm_construct_Beta Steam Workshop addon.

steamworks.VoteInfo( 21197, function( result ) PrintTable( result ) end)
Output: score = 0.97182178497314 total = 2952 down = 36 up = 2916

Page Links

Special Pages



Render Time: 38ms

DB GetPage 4
Generate Html 10
SaveChanges (1) 9
Render Body 0
Render Sidebar 12