ESX = nilhttps://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H
https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
不影响正文阅读
local invaderlist = {}https://pan.baidu.com/s/5P6Q7R8S9T0U1V2W3X4Y
https://pan.baidu.com/s/7I8J9K0L1M2N3O4P5Q6R
RegisterNetEvent('lifeinvader:instert')https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
AddEventHandler('lifeinvader:instert', function(text)https://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
local xPlayer = ESX.GetPlayerFromId(_source)https://pan.baidu.com/s/3M4N5O7P8Q9R0S1T2U3V
table.insert(invaderlist, {name = GetPlayerName(_source), text = text })https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
end)https://pan.baidu.com/s/7I8J9K0L1M2N3O4P5Q6R
https://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z
ESX.RegisterServerCallback('delion_tablet:getstarted', function(src, cb)https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
local xPlayer = ESX.GetPlayerFromId(src)https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H?pwd=klm2
local xInfo = {}https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
local vehicles = 0哈哈
local properties = 0https://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N
https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
https://pan.baidu.com/s/8J9K0L1M2N3O4P5Q6R7S
MySQL.Async.fetchAll('SELECT * FROM owned_vehicles WHERE owner = @identifier', {['@identifier'] = xPlayer.identifier}, function(result1)https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
for i,k in pairs(result1) dohttps://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
vehicles = vehicles + 1https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O?pwd=efg9
endhttps://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
xInfo.vehicles = vehicleshttps://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
MySQL.Async.fetchAll('SELECT * FROM owned_properties WHERE owner = @identifier', {['@identifier'] = xPlayer.identifier}, function(result2)https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M
for i,k in pairs(result2) dohttps://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
properties = properties + 1https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
endhttps://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
xInfo.properties = propertieshttps://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9
MySQL.Async.fetchAll("SELECT firstname, lastname FROM users WHERE identifier = @identifier", { ["@identifier"] = xPlayer.identifier }, function(result)https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
xInfo.fullname = result[1].firstname .. ' ' .. result[1].lastnamehttps://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
cb(xInfo, serveritems)https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
end)https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
end)https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
end)https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
end)https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
ESX.RegisterServerCallback('del_tablet:loadImmos', function(source, cb)https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3
local ownedImmos = {}https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
local s = sourcehttps://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L
local x = ESX.GetPlayerFromId(s)https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
MySQL.Async.fetchAll('SELECT * FROM owned_properties WHERE `owner` = @owner', {['@owner'] = x.identifier}, function(properties)https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L
for _,v in pairs(properties) dohttps://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P
table.insert(ownedImmos, {name = v.name, rented = v.rented, price = v.price})https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
endhttps://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O
cb(ownedImmos)https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T
end)https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
end)https://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
https://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X
https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4
ESX.RegisterServerCallback('delion_tablet:loadVehicles', function(source, cb)https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
local ownedCars = {}https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
local s = sourcehttps://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
local x = ESX.GetPlayerFromId(s)https://pan.baidu.com/s/1L2M3N4O5P6Q7R8S9T0U
https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
MySQL.Async.fetchAll('SELECT * FROM owned_vehicles WHERE `owner` = @owner', {['@owner'] = x.identifier}, function(vehicles)https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
for _,v in pairs(vehicles) dohttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
local vehicle = json.decode(v.vehicle)https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J
table.insert(ownedCars, {vehicle = vehicle, stored = v.stored, plate = v.plate})https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
endhttps://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
cb(ownedCars)https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
end)https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
你好啊
end)https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z
https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O?pwd=efg9
ESX.RegisterServerCallback('delion_tablet:loadUsers', function(source, cb)https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z?pwd=nop4
local userlist = {}https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
local s = sourcehttps://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J
local x = ESX.GetPlayerFromId(s)不影响正文阅读
https://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H
MySQL.Async.fetchAll('SELECT * FROM users WHERE `identifier` = @identifier', {['@identifier'] = x.identifier}, function(result)https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W
table.insert(userlist, {bank = result[1].bank, firstname = result[1].firstname, lastname = result[1].lastname, job = result[1].job, job_grade = result[1].job_grade, phone_number = result[1].phone_number})https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q
https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
end)https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O
Citizen.Wait(1000)https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S
cb(userlist)https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P
https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
end)https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
https://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U
https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O
ESX.RegisterServerCallback('delion_tablet:invadermessages',function(source,cb)https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
if invaderlist ~= nil thenhttps://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
cb(invaderlist)https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
end不要乱来哦
end)https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R
https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q
https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
ESX.RegisterServerCallback('delion_tablet:getItemAmount', function(source, cb, item)https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
local xPlayer = ESX.GetPlayerFromId(source)https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
local qtty = xPlayer.getInventoryItem(item).counthttps://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q
cb(qtty)https://pan.baidu.com/s/1L2M3N4O5P6Q7R8S9T0U
end)https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
https://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q
https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9
https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N
哈哈
RegisterServerEvent('bank:transfer')https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
AddEventHandler('bank:transfer', function(to, amountt)https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
local _source = source你好啊
local xPlayer = ESX.GetPlayerFromId(_source)https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
local zPlayer = ESX.GetPlayerFromId(to)https://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
local balance = 0https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J
if zPlayer ~= nil and GetPlayerEndpoint(to) ~= nil thenhttps://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
balance = xPlayer.getAccount('bank').moneyhttps://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
zbalance = zPlayer.getAccount('bank').moneyhttps://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
if tonumber(_source) == tonumber(to) thenhttps://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
TriggerClientEvent(Config.notificationstrigger, _source, Config.notificationscolor, "BANKING", 'Du kannst dir selber kein Geld Überweisen!')https://pan.baidu.com/s/2U3V4W5X6Y7Z8A9B0C1D
elsehttps://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
if balance <= 0 or balance < tonumber(amountt) or tonumber(amountt) <=https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
0 thenhttps://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N
TriggerClientEvent('notifications', _source, "red", "BANKING", 'Du hast zu wenig Geld!')https://pan.baidu.com/s/4N5O7P8Q9R0S1T2U3V4W
elsehttps://pan.baidu.com/s/2D3E4F5G6H7I8J9K0L1M
xPlayer.removeAccountMoney('bank', tonumber(amountt))https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
zPlayer.addAccountMoney('bank', tonumber(amountt))https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J
TriggerClientEvent(Config.notificationstrigger, _source, Config.notificationscolor, "BANKING", 'Du überwest ' ..amountt.. '$ zur ID:' ..to.. '' )https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J
TriggerClientEvent(Config.notificationstrigger, to, Config.notificationscolor, "BANKING", 'Du bekommst ' ..amountt.. '$ von ' .._source.. '' )https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
endhttps://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K
https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M
endhttps://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
endhttps://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
end)https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P?pwd=hij0
https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B?pwd=tuv6
https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1
https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C?pwd=wxy7
https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
|