Garry's Mod Wiki

Garry's Mod Wiki

  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 )

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...