You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BindVoiceToCoords(playerId, vector3)
This functions binds the playervoice to a vector3
It would also be good if it were possible to set the playervoice to different coordinates, so that, for example, in the case of a loudspeaker announcement system, the announcement can be made at different locations.
BindVoiceToEntity(playerId, networkId, offcoords)
This functions binds the playervoice to an entity
networkId = NetworkGetNetworkIdFromEntity(entity),
offcoords = GetOffsetFromEntityInWorldCoords | coords relative to the entity (is actualy a vector3)
offsetx = [ - = left + = right ]
offsety = [ - = behind + = front ]
offsetz = [ - = under + = upper ]
example: -1 or +1 (every integer)
ResetVoiceBind(playerId)
This functions sets the playervoice coords (I think it's the playerped)
Usage:
This could be used to make a loudspeaker announcement system for e.g. a prison or other buildings. It could also be used to make an announcement for buses, for example, when there is something new. Or you could connect it to a radio and play back information.
The text was updated successfully, but these errors were encountered:
Suggestions:
Functions:
BindVoiceToCoords(playerId, vector3)
This functions binds the playervoice to a vector3
It would also be good if it were possible to set the playervoice to different coordinates, so that, for example, in the case of a loudspeaker announcement system, the announcement can be made at different locations.
BindVoiceToEntity(playerId, networkId, offcoords)
This functions binds the playervoice to an entity
networkId = NetworkGetNetworkIdFromEntity(entity),
offcoords = GetOffsetFromEntityInWorldCoords | coords relative to the entity (is actualy a vector3)
offsetx = [ - = left + = right ]
offsety = [ - = behind + = front ]
offsetz = [ - = under + = upper ]
example: -1 or +1 (every integer)
ResetVoiceBind(playerId)
This functions sets the playervoice coords (I think it's the playerped)
Usage:
This could be used to make a loudspeaker announcement system for e.g. a prison or other buildings. It could also be used to make an announcement for buses, for example, when there is something new. Or you could connect it to a radio and play back information.
The text was updated successfully, but these errors were encountered: