mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Del(sv_main): Removed old file and cleaned up new
This commit is contained in:
1 parent
3b7a5357c7
commit
8a2a213715
2 files changed
+1
-103
No files matched your search
@@ -31,36 +31,4 @@ onNet('phone:getCredentials', async () => {
|
||||
} catch (error) {
|
||||
console.log('Failed to get number. ', error);
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
//
|
||||
//ESX.RegisterServerCallback('phone:getItemAmount', function(source, cb, item)
|
||||
// local xPlayer = ESX.GetPlayerFromId(source)
|
||||
// local items = xPlayer.getInventoryItem(item)
|
||||
//
|
||||
// if items == nil then
|
||||
// cb(0)
|
||||
// else
|
||||
// cb(items.count)
|
||||
// end
|
||||
//end)
|
||||
//
|
||||
//----
|
||||
//--Destroy Phone
|
||||
//--
|
||||
//
|
||||
//ESX.RegisterServerCallback('phone:removephone', function(source, cb, item)
|
||||
// local xPlayer = ESX.GetPlayerFromId(source)
|
||||
// local items = xPlayer.getInventoryItem(item)
|
||||
//
|
||||
// if items == nil then
|
||||
// cb(0)
|
||||
// else
|
||||
// cb(items.count)
|
||||
// if items.count > 0 then
|
||||
// xPlayer.removeInventoryItem('phone', items.count)
|
||||
// xPlayer.addInventoryItem('dphone', items.count)
|
||||
// end
|
||||
// end
|
||||
//end)
|
||||
});
|
||||
Reference in new issue
Block a user