CreateVote Function

Description

Creates a vote
Vote.CreateVote(const string& in pszType, bool bIsYesNo, bool bIgnoreFailure, const string& in pszIssueString, const string& in pszVoteOption1, const string& in pszVoteOption2, const string& in pszVoteOption3, const string& in pszVoteOption4, const string& in pszVoteOption5)

Parameters

const string& in pszType

Sets which vote type it is

bool bIsYesNo

Checks if the vote should only contain YES or NO

bool bIgnoreFailure

If true, the winning vote option will be shown after the passed string

const string& in pszIssueString

The current issue, example: Choose the next map

const string& in pszVoteOption1

Vote Option, example: zps_subway

const string& in pszVoteOption2

Same as option 1

const string& in pszVoteOption3

Same as option 1

const string& in pszVoteOption4

Same as option 1

const string& in pszVoteOption5

Same as option 1