Scripting/Server/Functions/NumTok

Number of tokens.

Syntax

NumTok(string, separator)

Arguments

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.

Section: Maths and strings

Categories: Server functions | Maths and strings