Scripting/Server/Functions/IsNum
True if the value is a number or a string that fully parses as one.
Syntax
IsNum(value)Arguments
- bool value
Example
function onPlayerCommand( player, cmd, params )
{
if ( cmd == "isnum" )
{
IsNum( true );
}
}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