Contacts
The Contacts app lets players manage their address book — add, edit and delete contacts linked to phone numbers, and share them with other players.
Features
- Add contacts with name, phone number and optional avatar
- Edit or delete existing contacts
- Alphabetical list with jump-to-letter index
- Search bar for quick lookup
- Tap a contact to call, message or view their profile
- Star contacts to add them to Phone app favorites
- Contacts are stored per-player in the database
Contact sharing
Players can share a contact card with another player via the Phone app's share feature. The recipient gets a prompt to accept and save the contact. No configuration is needed — it works out of the box with the phone sharing system.
lua
-- Server: listen for share requests
AddEventHandler("quanticPhone:receivePhoneShareRequest", function(source, data)
-- data.from = sender's source
-- data.contact = { name, number, avatar }
end)