Jump to content

IsOneFlagCTF: Difference between revisions

no edit summary
(Created page with "{{Template:ACSWarning}} int '''IsOneFlagCTF''' (void) ==Usage== This function can be used to determine if the gametype is One Flag Capture The Flag. ==Examples== <syntaxhi...")
 
No edit summary
Tag: Source edit
Line 2: Line 2:
int '''IsOneFlagCTF''' (void)
int '''IsOneFlagCTF''' (void)


==Usage==
== Usage ==
 
=== Return value ===
This function can be used to determine if the gametype is One Flag Capture The Flag.
This function returns whether the current game mode is [[Game_Modes#One_Flag_Capture_the_Flag|one-flag Capture The Flag]].
 
==Examples==


== Examples ==
<syntaxhighlight lang="c" line="1">
<syntaxhighlight lang="c" line="1">
Script 1 ENTER
Script 1 ENTER
Line 22: Line 21:
</syntaxhighlight>
</syntaxhighlight>


[[category:ACS Functions]]
== See also ==
* [[GetCurrentGameMode]]
 
[[category:ACS functions]]