Nextmap command (basetriggers.sp) will now show 'Pending Vote' if mapchooser is running, and the vote has not yet occured.

Few cvar description changes in rockthevote.sp

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402423
This commit is contained in:
Matt Woodrow
2008-07-17 07:47:11 +00:00
parent 9292e0f816
commit dad66c9204
4 changed files with 74 additions and 9 deletions
+11 -3
View File
@@ -55,9 +55,8 @@ native bool:CanMapChooserStartVote();
*/
native InitiateMapChooserVote(MapChange:when, Handle:inputarray=INVALID_HANDLE);
/**
* A horribly named native that checks if MapChooser's end of map vote has completed.
* Checks if MapChooser's end of map vote has completed.
*/
native bool:HasEndOfMapVoteFinished();
@@ -77,4 +76,13 @@ public SharedPlugin:__pl_mapchooser =
#else
required = 0,
#endif
};
};
public __pl_mapchooser_SetNTVOptional()
{
MarkNativeAsOptional("NominateMap");
MarkNativeAsOptional("GetExcludeMapList");
MarkNativeAsOptional("CanMapChooserStartVote");
MarkNativeAsOptional("InitiateMapChooserVote");
MarkNativeAsOptional("HasEndOfMapVoteFinished");
}