[Release] Re-Ignited GCPhone (ESX 1.1 & 1.2(final))

Re-Ignited GCPhone - By @BTNGaming (With some help from various developers)

Want to support Re-Ignited? Click here: https://reignited.tebex.io/

NEW UPDATES COMING SOON! (8/14/2021)

UPDATE: If you’re on ESX 1.1 or older, please use the server.lua in resources/server 1-1 folder. If you’re on ESX 1.2, please use the server.lua in resources/server 1-2 folder!!!

Notifications not working? https://i.imgur.com/nPZH6gi.png Here is your reasoning.

Full Support on Github (Will keep updating here while we update the phone)

Download for Developers with source code DO NOT DOWNLOAD THIS VERSION UNLESS YOU KNOW WHAT YOU ARE DOING!!! Needs to be compiled before it is usable in game!!!

Downloads Page for Server Owners EASY PLUG & PLAY For the standard server owner/dev.

GCPhone Redesign for FiveM

Updates

  • RealTime GPS via Text
  • You can now send photos in Twitter.
  • No longer download unnecessary files, Just choose 1.1 or 1.2 folder in RELEASES PAGE and enjoy.

How to change the TIME on the RealTime GPS:
Go to Config.lua and find:
Config.ShareRealtimeGPSDefaultTimeInMs = 1000 * 60
Change 60 to whatever you want. 60 = 1 minute REAL TIME.

Features

  • ZERO Database changes needed to replace gcphone v3 or any other public versions.
  • Full contacts list.
  • Sending text messages.
  • Voice calls.
  • Anonymous calling.
  • Bank application (With full bank transfers).
  • Anonymous Chat application.
  • Stock market application (With full functionality soon).
  • Customizable cover / screen.
  • Add Contacts from recent text messages.
  • Add Contacts from recent call history.
  • Custom Ringtones with working Volume system in settings.
  • Mouse control is back at 100% functionality.
  • Screenshots/Selfies with already working upload server.
  • Easy installation instructions. Created for us by @ROCKY_southpaw

Configuration

  • You can modify the sounds in \ html \ static \ sound
  • You can modify the backgrounds in \ html \ img \ background
  • You can modify the phone shell in \ html \ img \ coque
  • The shells must be in 1000x500 px format, the screen area for creating backgrounds is centered in size 800 * 400.
  • Bank & Stock Market application(s) must be configured according to your scripts.
  • See installation.md for more configurations.
  • See Images at bottom of page for examples.

About esx_addons_gcphone

ESX Addons GCPhone has been merged INTO the gcphone files for ease of use. You are no longer required to add ensure esx_addons_gcphone to your server.cfg.

Resource gcphone does not specify an fx_version in fxmanifest.lua. Install these: (Latest artifacts)

Please put ensure gcphone before jobs.
Exemple :

ensure mysql-async
ensure essentialmode (For esx 1.1)
ensure esplugin_mysql
ensure es_extended

ensure gcphone
ensure screenshot-basic

ensure esx_mecanojob
ensure esx_job2
ensure esx_job3

License

GNU v3

Originally: Jonathan (Gannon) D
New & Updated: BTNGaming & chip

Image of gcphone1 Image of gcphone2 Image of gcphone3
Image of gcphone4 Image of gcphone5 Image of gcphone6
Image of gcphone7 Image of gcphone8
Image of gcphone9 Image of gcphone10
Image of gcphone12 Image of gcphone13
Image of gcphone16 Image of gcphone17

55 Likes

Hello very nice realease but this appear on console

strong text

2 Likes

Update your artifact. Don’t use the latest recommended.

1 Like

Make sure your artifacts version has been updated as I am assuming you haven’t updated it in awhile.

2 Likes

nerd :stuck_out_tongue: … good release dude :slight_smile:

3 Likes

How do I put it as an object in a store?

2 Likes

I’ve already done it and the phone stops working for me

1 Like

Any errors? Do you have something in you server console with a warning stating there is no server callback for gcphone:getitem?

3 Likes

To make the phone into an item,

- Make sure you installed the proper server.lua file (Since 1.1 and 1.2 use different callbacks. Instructions included with file called Instructions.md)

Change:

--[[
    ESX.RegisterServerCallback('gcphone:getItemAmount', function(source, cb, item)
        print('gcphone:getItemAmount call item : ' .. item)
        local xPlayer = ESX.GetPlayerFromId(source)
        local items = xPlayer.getInventoryItem(item)

        if items == nil then
            cb(0)
        else
            cb(items.count)
        end
    end)
--]]

By removing the --[[ and --]] at the beginning and end of it.

  • MAKE SURE YOU ADD phone as an item into your database in the “items” table.

ON client.lua

--[[
function hasPhone (cb)
  if (ESX == nil) then return cb(0) end
  ESX.TriggerServerCallback('gcphone:getItemAmount', function(qtty)
    cb(qtty > 0)
  end, 'phone')
end
function ShowNoPhoneWarning () 
  if (ESX == nil) then return end
  ESX.ShowNotification("Vous n'avez pas de ~r~téléphone~s~")
end --]]

This is on lines 60-70, Remove the --[[ and --]]

This biggest thing is, Make sure you’re using the proper server.lua file, otherwise it will not properly function (I will merge them again soon, just need to fix some callback issues for 1.1 & 1.2)

Any upcoming features like Instagram or Yellow Pages ?

1.1 dont open phone
1.2 error parsing

only if I activate the phone as an object.

if I don’t activate it with 1.1 it works fine for me

You need to explain exactly what you’re trying to do, and be extremely descriptive about what you tried and the steps you took. Along with any errors in F8 or Server Console.

We have over 30 people in total right now who have this phone working on both esx 1.1 and 1.2, Including phone as an item, AND a Sim Card feature.

1 Like
  • Config to change top right phone time from Server Local Time to Game Time
  • Text Tones (Ringtones for text messages)
  • Fix Twitter Profile Default Picture (Also add selfie as an option for profile image)
  • Add new icons for Police/EMS/Mechanic/Taxi defaults.
  • Yellow Pages
  • Maybe Instagram in the future but not right away

There was more ideas, I just can’t think of them off the top of my head. Had a HUGE discussion in Re-Ignited about it.

1 Like

It was my mistake, I left a -]]

XD sorry nice work fo rme

Haha, No worries. Glad you were able to get it resolved! :slight_smile:

2 Likes

Good luck then! I hope the best for it.
Me and alot of people really appreciate your work.

Thanks, We’re planning on creating a new phone from scratch while keeping this project on the burner.

This will be continuously updated and supported, Though with the new phone system we’ve been creating the concept for, It will probably make this phone look like… Well… Childsplay lol.

Ive translated all to Portuguese (PT / PT).
One more thing, client.lua line 69 where there is a ESX.ShowNotification you should add that on the locales too.

In server/twitter.lua theres a function for a discord webhook at the end of the script, but theres no variable in the Config file for it. (:slight_smile:

Heres the Portuguese translationPT_PT.txt (10.6 KB)

Hope i could help !!

I’ve added your translation to the phones github. Thanks for the translations @Rockz

And discordwebhook will be in within a couple of days. =]