Scripting/Server/Functions/NumTok
Number of tokens.
Syntax
NumTok(string, separator)Arguments
- string value
- any separator
Example
function onPlayerCommand( player, cmd, params )
{
if ( cmd == "numtok" )
{
NumTok( true, 0 );
}
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
Section: Maths and strings
Categories: Server functions | Maths and strings