SetPickupVisibility
From Onset Developer Wiki
Description
Set the pickup visibility for players.
Syntax
SetPickupVisibility(pickup, player, bVisible)
Parameters
- pickup
The pickup identifier. - player
The player identifier. - bVisible
false to hide it for the player.
Return Value
- Returns true on success.
Example
if GetPlayerHealth(playerId) > 90 then
SetPickupVisibility(pickupId, playerId, false)
end
See also
- GetPickupCount
- GetStreamedPickups
- GetPickupLocation
- SetPickupPropertyValue
- GetPickupPropertyValue
- SetPickupVisibleForPlayers
- GetAllPickups
- CreatePickup
- DestroyPickup
- IsValidPickup
- SetPickupScale
- GetPickupScale
- SetPickupDimension
- GetPickupDimension
- SetPickupVisibility
- SetPickupOutline
- IsPickupStreamedIn