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'.