[ESX/QBCore] MSK Simcard - Change your phonenumber

Thank you for taking your time to answer us so quickly and with politeness.

1 Like
['fr'] = {

        ['numberExist'] = 'La carte SIM n\'a pas été reconnue. Réessayer!',

        ['updateNumber'] = 'Le numéro a été changé avec succès en ~g~ ',

        ['updateNumber2'] = '~s~.',

        ['noPhone'] = "Vous n'avez pas de téléphone avec vous.",

        ['phoneHeading'] = 'Simcard',

        ['phoneText'] = 'Le numéro de téléphone a été modifié.',

    },

added language french

1 Like

Update v1.6

  • Added new Item to insert a number you desire

You need NativeUI for this Update! ([Release][Dev] NativeUILua)

Update v1.7

  • Fixed number not updating for GKSphone

Update v1.8

  • Changed Notiication function
  • Fixed wishItem if Number already exist
  • Added max length for wishItem number

Update v1.9

  • Fixed Notifications

Sorry about that mistake :slight_smile:

Update v2.0

  • Added an_dialogBox

You can toggle it in config.lua - Config.dialogBox = true
You need to have this installed: [STANDALONE] NUI Dialog Box [FREE]

@SrPeter wanted to have this so I decided to implement it :slight_smile:

1 Like

Update v2.1

  • Fixed Config.numberLength for an_dialogBox

Hello, i bought this amazing script and i have problem that im using QBCore so its doesnt work for me because i set my config like this
Config.Database = {

usersDB = 'players', -- ESX default: 'users' // Users Table

usersIdentifierTB = 'license', -- ESX default: 'identifier' // identifier for users table

----------------------------------------------------------------

numberDB = 'players', -- default: 'users' // Chezza Phone: 'phones' // GKSphone: 'gksphone_settings'

numberTB = 'charinfo', -- default: 'phone_number' // Table for phonenumber

identifierTB = 'citizenid' -- ESX default: 'identifier' // identifier for numberDB table

}
and because QBCore has phone number in charinfo then when i use simcard item it change all my charinfo so character name banking id etc… i just dont know how should i do it like that so it can work so can you maybe please help my with that what i need to set good so its work for my QBCore server please? Thank you

I don’t know how to set it up for QBCore because I use ESX. But I asked one of my testers who is using qbcore, so please wait and I tell you as far as I know how to set it up for qbcore.

You have to set it up like this:

Config.Database = {
    usersDB = 'players', -- ESX default: 'users' // Users Table
    usersIdentifierTB = 'citizenid', -- ESX default: 'identifier' // identifier for users table
    ----------------------------------------------------------------
    numberDB = 'players', -- default: 'users' // Chezza Phone: 'phones' // GKSphone: 'gksphone_settings'
    numberTB = 'charinfo', -- default: 'phone_number' // Table for phonenumber
    identifierTB = 'citizenid' -- ESX default: 'identifier' // identifier for numberDB table
}

But my testers said it is saved in a json table and thats not implemented yet for qb-phone. I have to update that it works for qb-phone.

1 Like

Okay thank you for now i will wait for the next update :grin:

1 Like

gibt es da auch ein update für ?
https://forum.cfx.re/t/paid-esx-qbcore-roadphone/4857179

So when the new update come?

I don’t know. All I try doesn’t work.

Update v2.2

  • Added multiple items for needed phone item

Re-download msk_simcard at your keymaster

Update v2.3

  • Added new Numberformats [XXX-XXX and XXX-XXX-XXXX]

Re-download msk_simcard at your keymaster

Hey can you do one version for qs-smartphone?
Also if possible to create a text box after using the sim where player can set their own number. If number is been used by someone then it gives an error

Hi, would you please add a duplicate number check when entering a new telephone number or recieving a new telephone number?
I am using Chezzas phone and its possible to enter the number of another person as a wish telephone number.

Thanks :slight_smile: