warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
getpubvar
warning
This function starts with a lowercase letter.
Description
Gets a specific public variable from the current script.
Name | Description |
---|---|
const name[] | The public variable's name. |
Returns
Naught if the variable doesn't exist (use existpubvar first).
Related Functions
- setpubvar: Sets a specific public variable in the current script.
- existpubvar: Checks if a specific public variable exists in the current script.
- numpubvars: Counts how many public variables there are in the script.