Fix double call history & adding contact from history (#231)

This commit is contained in:
Dillon Skaggs authored and GitHub committed 2021-05-20 23:54:01 +02:00
1 parent 488c8df5cb
commit 2411c39b95
6 files changed
+12 -6

No files matched your search

+3
View File
@@ -118,6 +118,9 @@ onNet(PhoneEvents.PLAYER_IS_READY, (ready: boolean) => {
isPlayerReady = ready;
});
onNet(PhoneEvents.SEND_CREDENTIALS, (number: string) => {
sendMessage('SIMCARD', PhoneEvents.SET_NUMBER, number)
})
AddEventHandler('onResourceStop', function (resource: string) {
if (resource === GetCurrentResourceName()) {
sendMessage('PHONE', PhoneEvents.SET_VISIBILITY, false);