Warning: file_put_contents(/ff_76e9508a1f63508f3a5712372f08597f3281f8a7931a5486.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
!= - OFPEC Scripting Command Reference | OFPEC The Editing Center

param1 != param2

Operand types

param1: ----
param2: ----

Type of returned value

Description

Check if two parameter values are not equal.
param1 and param2 can be one of the following types:

Group - grp1 != grp2: Check if two groups are not the same.
If either of them is grpNull, true is returned.

Number - a != b: Checks if a is not equal to b

Object - obj1 != obj2: Check if two objects are not the same.
If either of them is grpNull, true is returned.

Side - sideA != sideB: Check if two side values are not the same.

String - stringA != stringB: Checks whether two string values are not the same.

Used In

OFP/ArmA

Example

counter != 4
nameofplayer != "John Doe"
vehicle player != player
side player != west
group player != group soldierOne

Advertisement