What's new

Script ModFreakz: Vehicle Shops

ALEN TL

ALEN TL#5009
Gold Elite
Joined
Sep 18, 2021
Messages
387
Solutions
1
Reaction score
5,524
Points
321
Age
18
Location
KOCHI




everthing is working but cant take funds server.lua error: 831 everyone know how to fix that?
local identifier = (KashCharacters[source] and KashCharacters[source]..":" or '')..xPlayer.getIdentifier()
This one.
What was the error that you got. Can you just paste that over here.
 

Lucky~

Gold Elite
Joined
Apr 2, 2021
Messages
81
Reaction score
409
Points
296
Location
Malaysia
local identifier = (KashCharacters[source] and KashCharacters[source]..":" or '')..xPlayer.getIdentifier()
This one.
What was the error that you got. Can you just paste that over here.
[ script:vehicleshops] SCRIPT ERROR: @vehicleshops/src/server/main.lua:831: attempt to call a nil value (field 'AddAccountMoney')
 

Attachments

  • 屏幕截图 2021-12-08 134930.png
    屏幕截图 2021-12-08 134930.png
    2.7 KB · Views: 133

Lucky~

Gold Elite
Joined
Apr 2, 2021
Messages
81
Reaction score
409
Points
296
Location
Malaysia
local identifier = (KashCharacters[source] and KashCharacters[source]..":" or '')..xPlayer.getIdentifier()
This one.
What was the error that you got. Can you just paste that over here.
pls help me:cry:
 

ALEN TL

ALEN TL#5009
Gold Elite
Joined
Sep 18, 2021
Messages
387
Solutions
1
Reaction score
5,524
Points
321
Age
18
Location
KOCHI
pls help me:cry:
You can see from this esx documentation
xPlayer.addAccountMoney
but in the server.lua:831 it is
xPlayer.AddAccountMoney
just change it to xPlayer.addAccountMoney
Report all of your errors here if you have some more on this topic.
 

Lucky~

Gold Elite
Joined
Apr 2, 2021
Messages
81
Reaction score
409
Points
296
Location
Malaysia
You can see from this esx documentation
xPlayer.addAccountMoney
but in the server.lua:831 it is
xPlayer.AddAccountMoney
just change it to xPlayer.addAccountMoney
Report all of your errors here if you have some more on this topic.
thank you
 

Sasan12

Member
Joined
Oct 19, 2022
Messages
5
Reaction score
0
Points
146
Location
Shanghai
I got this error when i use command /create:vehshop
How can i fix this?
 

Attachments

  • QQ图片20230108201954.png
    QQ图片20230108201954.png
    71.3 KB · Views: 24

eptj0e

Member
Joined
Nov 22, 2023
Messages
3
Reaction score
0
Points
41
Location
Egypt
Check fund function also isn't working ,, any fix ?
 
Top