Garry's Mod Wiki

steamworks.Vote

steamworks.Vote( string workshopItemID, boolean upOrDown )

Description

This is used internally - although you're able to use it you probably shouldn't.

Makes the user vote for the specified addon

Arguments

1 string workshopItemID
The ID of workshop item.
2 boolean upOrDown
Sets if the user should vote up/down. True makes them upvote, false down

Example

Give the Gm_construct_Beta Steam Workshop item a thumbs up.

steamworks.Vote( 21197, true )

Page Links


Special Pages


Wikis

?

Render Time: 215ms

DB GetPage 87
Generate Html 8
SaveChanges (1) 96
Render Body 0
Render Sidebar 21