Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:Returns whether one value is not equal to another.

Can compare the following types:

Syntax

Syntax:a != b
Parameters:
  • a: - First argument of compatible type
  • b: - Second argument of compatible type
Return Value:Boolean - true if a is not the same as b

Examples

Examples:Some basic examples of the usage of this operator.
counter != 4
side player != west
nameofplayer != "John Doe"
vehicle player != player
group player != group soldierOne
if (fuel truck1 != 1) then {hint "Truck1 has less than a full tank of fuel."}

Additional Information

See also: Operators
Multiplayer: 
Problems: 

Notes