From 18f89510057dbb840498f0aaaac3a658265e0404 Mon Sep 17 00:00:00 2001 From: flowtron Date: Thu, 16 Oct 2008 16:38:05 +0000 Subject: [PATCH] added doc for missing cur* commands git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3067 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- docs/reference.xml | 106 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 105 insertions(+), 1 deletion(-) diff --git a/docs/reference.xml b/docs/reference.xml index 33e5b596..3cdbedb7 100644 --- a/docs/reference.xml +++ b/docs/reference.xml @@ -723,6 +723,67 @@ + + + + Returns the current map being played. + + If you pass it a non-zero value, the result will be path-less. + + + + + + + + + + + output: playing maps/ac_complex vote for: ac_complex + + + + + + + + + + + + Returns the mode number for the current game. + + + + + + + + + Returns the weapon-index the local player currently has selected as primary. + + This is not the same as curweapon - which could be a grenade or the knife. + + + + + + + + + + + + + Returns 1 if the local player has admin privileges, 0 otherwise. + + + + + + Returns information on the current server - if you're connected to one. @@ -733,9 +794,30 @@ + + + + Returns 1 if the local player is on the RVSF team, 0 if on CLA. + + + + + - + + Returns the weapon-index the local player is currently holding. + + + + + + + + + + + Loads up a map in the gamemode set previously by the 'mode' command. @@ -875,6 +957,7 @@ + @@ -929,15 +1012,36 @@ Returns contents of current magazine. + + A knife will always return 1. + Weapons that aren't available will return -1. + + + + + + + + + + Returns contents of magazine reserve. + + + + + + + + Retrieves the last map that was sent to the server using 'sendmap'.