steamworks.Vote

From Garry's Mod
Jump to: navigation, search
 steamworks.Vote( )

Contents

Description

This is an internal function or feature.
This means you will be able to use it, but you really shouldn't.
Makes the user vote for the specified addon

Arguments

string workshopItemID

The ID of workshop item.

Arguments

boolean upOrDown

Sets if the user should vote up/down. True makes them upvote, false down

Examples

Example

Give the Gm_construct_Beta Steam Workshop item a thumbs up.

steamworks.Vote( 21197, true )


Personal tools
Navigation