[PAID] ESX - Charlies Pre-Paid Phones + Dispatch Calling

This is my first script fully functional script. This allows users to top up their phone with pre-paid top up cards. They can make calls and send SMS messages which will deduct from their credit (this is a separate currency from your on hand cash). I have setup 10 sim cards which you can customise how much each sim deducts (call and SMS) from your credit. Each sim also has their own 3 number prefix.
e.g. Sim1 all have 027-XXXXXXX numbers etc.

There is also a bonus system I have put in which turns ‘phone’ into a usable item. If you are police, it will allow you to take “911” calls. This means players can ring “911” or which every number of your choosing (in config) to connect directly to any on duty police officer. If no one officer is actively taking calls, it will deny you from calling this number so make sure it doesn’t conflict with any other number systems you have. You cannot call this number from Fixed phone locations. Also if you have no credit, you can still call the emergency number.

Config is pretty clear. if you have any issues let me know.

you will need to create 2 new columns in ‘user’ database. I have attached an sql file if you need it (charlieSQL).

currently both scripts are together. If there is enough interest I will separate them.



Link: https://itscharlietvsscripts.tebex.io/package/5092072

If you’re selling your resource, please include the following information at the end of your post:

Code is accessible Yes
Subscription-based No
Lines (approximately) 1500
Requirements ESX, gcphone
Support Yes
(For releases without code the not applicable fields can be written as N/A)
1 Like

bro please can you make a qbcore version

or is the code open so i can try to convert it?

Open, go for gold. My code is messy and probably not the best way to do it. But yeah, go for it.

Also I dont know QB so I cannot do it myself.

wym by its messy… AND IS THIS BASICALLY AS SECOND PHONE?

and what sql does it use

I don’t use a lot of dynamic coding, so I repeat/copy a lot of the functions. Probably a lot of un-needed lines. If you are an exp coder and look at it, you will probably understand. And no, not a second phone. This is using gcphone. I should have mentioned it in the initial post.

I didn’t know there were different versions of SQL, but I use MyPHP on zap hosting, if that helps.