This PR adds support for giving contact details to other nearby players.
It will get the closest player and will open their phone onto the fill new contact screen with the name and number prefilled. The user then just has to save it.
To use this, users would be expected to update their radial menu to use the 'npwd:GiveContactDetails event.
Example w/ qb-radialmenu
{
id = 'givenum',
title = 'Give Contact Details',
icon = 'address-book',
type = 'client',
event = 'npwd:GiveContactDetails',
shouldClose = true
},
If one already exists it will show the already populated contact card and the user can update it from there.
Pull Request Description
This PR adds support for giving contact details to other nearby players. It will get the closest player and will open their phone onto the fill new contact screen with the name and number prefilled. The user then just has to save it.
To use this, users would be expected to update their radial menu to use the
'npwd:GiveContactDetails
event. Example w/ qb-radialmenuIf one already exists it will show the already populated contact card and the user can update it from there.
Example: https://clipchamp.com/watch/9zspIfzTHbG
Pull Request Checklist: