Create a new folder in phone/apps/ and name it changenumber
Create a new file and name it sv_changenumber.lua
Add in /sv_changenumber.lua
RegisterNetEvent('phone:changeNumber')AddEventHandler('phone:changeNumber', function(src,newNumber)if Phones[src] then Phones[src].number = newNumberprint("[^4Phone^0] Updatet Phonenumber to ^3" .. newNumber .."^0 for ^5" ..GetPlayerName(src) .."^0")endend)
Go to /npwd/resources/dist/server/server.js
Then go to line 52764 and add the following Code
exp4("setPhoneNumber", (src, newNumber) => {let player =player_service_default.getPlayer(src);player._phoneNumber = newNumber;console.log(`[msk_simcard]: Phonenumber was set to ${player._phoneNumber}`);});