R_SIMCARDS
Hello everyone!
Hereby we present our custom script that allows you to add sim cards to your NPWD. This script allows players to have multiple phone numbers at the same time.
VIDEO PREVIEW [r_simcards]
Features
Script is standalone
Possibility of having several sim cards
The possibility of making a copy of the sim card and blocking the old one.
Fully optimized
Dependencies
Installation
Download script
Add r_simcards to your resources directory
Run sql.sql and add “sim_card” item into your ox_inventory
Add this in your server.cfg:
ensure r_simcards
ox_inventory/data/items.lua
['sim_card'] = {
label = 'Sim Card',
weight = 10,
stack = false,
close = true,
description = nil,
consume = 0,
client = {
remove = function()
exports['r_simcards']:checkSim()
end,
add = function()
exports['r_simcards']:checkSim()
end,
},
server = {
export = 'r_simcards.sim_card',
metadata = {
number = nil,
ssn = nil
}
},
},
DOWNLOAD
OTHER RESOURCES
17 Likes
Does it work for qb-inventory aswell?
its compatible with qbcore?
It is standalone but requires ox_inventory and ox_lib
The script only supports ox_inventory, but you can edit it yourself
if the card is used by someone else, can they see your conversations the ones you made?
Yes, another person can see your conversations.
1 Like
EvolutionCDMX:
It doesn’t work
Did you install the script correctly?
1 Like
You are trying to make a copy of the sim card, but you probably don’t have any that can be copied.
Checking the console tells me that it cannot export the getPlayerData function
Probably your NPWD config is wrong
Its compatible with qs-smartphone?
1 Like
No it’s only compatible with npwd
Well, it let me use phone even if i dont have sim_card item in eq, any advice?
Hi @requestrip , nice resource, I was testing (just for fun) and seems the export
exports['r_simcards']:checkSim() Inside the ox_inventory data->items hangs the inventory itself.
Have you experienced something similar?
May be somthing changed with latest inventory
Question, what if the player doesn’t have a SIM card at all, does the cell phone not work?
smznx
March 10, 2024, 5:05pm
20
for me it doesn’t work when i go on the marker and i press E all starts no working