gcNotifications (gcphone notifications - Whatsapp styled)

Hello there! I just write this little script for a server. I hope it will be usseful for you.

Features:

  • 0.00ms

  • Ugly code

  • Maybe bug(?)

I’m using gcphone-reignited so idk if will work on others gcphones.
You must have this Event on your gcphone main server lua script.

Mine haven’t so i made it

RegisterServerEvent('gcPhone:requestAllContact')
AddEventHandler('gcPhone:requestAllContact', function()
    local sourcePlayer = tonumber(source)
    xplayer = ESX.GetPlayerFromId(source)
	if xPlayer ~= nil then
		identifier = xplayer.identifier
		notifyContactChange(sourcePlayer, identifier)
	end
end)

Note: You don’t need to have the phone on your hand
Github

7 Likes

Can alert on the pNotify?

Not in the scope of the development and i haven’t free time right now. Feel free to make as changes as you want

Nice release. Maybe change color of the notification?

Ty! You can change in main.css line 16

background-color: white;

and line 19

box-shadow: 3px 3px 3px 3px #003300;
1 Like

This feature is already available on the GB WhatsApp