Client:AimTargetChanged

Client:AimTargetChanged(entity: Entity | nil, hasFriend: bool, hasEnemy: bool, hasVehicle: bool, hasSoldier: bool)

Parameters

Name Type Description
entity Entity | nil
hasFriend bool
hasEnemy bool
hasVehicle bool
hasSoldier bool

Example

Events:Subscribe('Client:AimTargetChanged', function(entity, hasFriend, hasEnemy, hasVehicle, hasSoldier)
    -- Do stuff here.
end)
Last modified October 9, 2022: Update changelog for 19549 (507929a4)