What's new

Script okokChatV2 - QBCore and ESX

MFYTxWATSON

Silver Elite
Joined
Aug 28, 2022
Messages
21
Reaction score
5
Points
166
Location
India
View attachment 6028

Hello, I bring you the okokChatV2 ESX version converted by me to QBCore (The file contains both versions).

Make sure to read the README.md ‼️


UPDATE: ATTENTION [Only QBCore Version] - I notice that the PM command doesn´t work, you need to edit line 824 in server.lua to xTargetName = getName(xTarget) to fix the problem.

UPDATE: 26/04/2022 - 12:20 [Only QBCore Version] - All the people who download the script after this hour will have all working properly.
If you got downloaded it before, make what is detailed above, in the first update and also change the lines 938, 1003 in server.lua to xTargetName = getName(xTarget)


Preview:

@Ares esx convert new download

Good contribution -> Script - okokChatV2 - QBCore and ESX
hi nyc script
 

TRØY

Member
Joined
Jan 23, 2022
Messages
1
Reaction score
0
Points
146
Location
YEs
View attachment 6028

Hello, I bring you the okokChatV2 ESX version converted by me to QBCore (The file contains both versions).

Make sure to read the README.md ‼️


UPDATE: ATTENTION [Only QBCore Version] - I notice that the PM command doesn´t work, you need to edit line 824 in server.lua to xTargetName = getName(xTarget) to fix the problem.

UPDATE: 26/04/2022 - 12:20 [Only QBCore Version] - All the people who download the script after this hour will have all working properly.
If you got downloaded it before, make what is detailed above, in the first update and also change the lines 938, 1003 in server.lua to xTargetName = getName(xTarget)


Preview:

@Ares esx convert new download

Good contribution -> Script - okokChatV2 - QBCore and ESX
I get an error when i try to type something in /twitter, /ad, etc. The error being: SCRIPT ERROR @okokChat/commands.lua:160 attempt to index ref (@okokChat/commands.lua:160)
 

duyhas

Silver Elite
Joined
Mar 25, 2022
Messages
35
Reaction score
10
Points
166
Location
Virehas
View attachment 6028

Hello, I bring you the okokChatV2 ESX version converted by me to QBCore (The file contains both versions).

Make sure to read the README.md ‼️


UPDATE: ATTENTION [Only QBCore Version] - I notice that the PM command doesn´t work, you need to edit line 824 in server.lua to xTargetName = getName(xTarget) to fix the problem.

UPDATE: 26/04/2022 - 12:20 [Only QBCore Version] - All the people who download the script after this hour will have all working properly.
If you got downloaded it before, make what is detailed above, in the first update and also change the lines 938, 1003 in server.lua to xTargetName = getName(xTarget)


Preview:

@Ares esx convert new download

Good contribution -> Script - okokChatV2 - QBCore and ESX
 

hmaaad

Member
Joined
Sep 12, 2022
Messages
1
Reaction score
0
Points
146
Location
indonesia
View attachment 6028

Hello, I bring you the okokChatV2 ESX version converted by me to QBCore (The file contains both versions).

Make sure to read the README.md ‼️


UPDATE: ATTENTION [Only QBCore Version] - I notice that the PM command doesn´t work, you need to edit line 824 in server.lua to xTargetName = getName(xTarget) to fix the problem.

UPDATE: 26/04/2022 - 12:20 [Only QBCore Version] - All the people who download the script after this hour will have all working properly.
If you got downloaded it before, make what is detailed above, in the first update and also change the lines 938, 1003 in server.lua to xTargetName = getName(xTarget)


Preview:

@Ares esx convert new download

Good contribution -> Script - okokChatV2 - QBCore and ESX
is this for esx or qb?
 

JGUsman

Member
Joined
May 13, 2022
Messages
20
Reaction score
0
Points
166
Location
aasdasdafasd
View attachment 6028

Hello, I bring you the okokChatV2 ESX version converted by me to QBCore (The file contains both versions).

Make sure to read the README.md ‼️


UPDATE: ATTENTION [Only QBCore Version] - I notice that the PM command doesn´t work, you need to edit line 824 in server.lua to xTargetName = getName(xTarget) to fix the problem.

UPDATE: 26/04/2022 - 12:20 [Only QBCore Version] - All the people who download the script after this hour will have all working properly.
If you got downloaded it before, make what is detailed above, in the first update and also change the lines 938, 1003 in server.lua to xTargetName = getName(xTarget)


Preview:

@Ares esx convert new download

Good contribution -> Script - okokChatV2 - QBCore and ESX
 

big fevs

Member
Joined
Feb 15, 2022
Messages
6
Reaction score
0
Points
146
Location
uk
I updated mine to take money from my inventory for Ads and Anonymous by commenting out the "getAccount('bank').money and adding getMoney.()

server.lua
Under Advertisement and Anonymous sections:

--local bankMoney = xPlayer.getAccount('bank').money
local bankMoney = xPlayer.getMoney()


Also added the price for the Ads and Anon message based on whatever you set in the config.lua to the "chat suggestions" line by changing the client.lua

if Config.EnableAdvertisementCommand then
TriggerEvent('chat:addSuggestion', '/'..Config.AdvertisementCommand, 'Make an advertisement for $'..Config.AdvertisementPrice..'', {
{ name="ad", help="advertisement message" },
})
end
if Config.EnableAnonymousCommand then
TriggerEvent('chat:addSuggestion', '/'..Config.AnonymousCommand, 'Send an anonymous message for $'..Config.AnonymousPrice..'', {
{ name="message", help="message to send" },
})
end


Also, in the config.lua there's a typo for the ['an_success'] Notification Text for the Price.

I changed that line to this:

['an_success'] = { title = 'ANONYMOUS', message = 'Advertisement successfully made for $${price}', time = 5000, type = 'success'},

You can also change the ad_success if you want to show $ instead
['ad_success'] = { title = 'ADVERTISEMENT', message = 'Advertisement successfully made for $${price}', time = 5000, type = 'success'},
ddfffss
 

KaruroRally

Member
Joined
Apr 25, 2022
Messages
7
Reaction score
1
Points
156
Location
Italy
View attachment 6028

Hello, I bring you the okokChatV2 ESX version converted by me to QBCore (The file contains both versions).

Make sure to read the README.md ‼️


UPDATE: ATTENTION [Only QBCore Version] - I notice that the PM command doesn´t work, you need to edit line 824 in server.lua to xTargetName = getName(xTarget) to fix the problem.

UPDATE: 26/04/2022 - 12:20 [Only QBCore Version] - All the people who download the script after this hour will have all working properly.
If you got downloaded it before, make what is detailed above, in the first update and also change the lines 938, 1003 in server.lua to xTargetName = getName(xTarget)


Preview:

@Ares esx convert new download

Good contribution -> Script - okokChatV2 - QBCore and ESX
asas
 

Yuusefahmmed

Silver Elite
Joined
Mar 22, 2022
Messages
17
Reaction score
7
Points
166
Location
United States
View attachment 6028

Hello, I bring you the okokChatV2 ESX version converted by me to QBCore (The file contains both versions).

Make sure to read the README.md ‼️


UPDATE: ATTENTION [Only QBCore Version] - I notice that the PM command doesn´t work, you need to edit line 824 in server.lua to xTargetName = getName(xTarget) to fix the problem.

UPDATE: 26/04/2022 - 12:20 [Only QBCore Version] - All the people who download the script after this hour will have all working properly.
If you got downloaded it before, make what is detailed above, in the first update and also change the lines 938, 1003 in server.lua to xTargetName = getName(xTarget)


Preview:

@Ares esx convert new download

Good contribution -> Script - okokChatV2 - QBCore and ESX
gooooooooooooooooooooooooooooood
 

boblazarufo

Silver Elite
Joined
Sep 21, 2022
Messages
23
Reaction score
10
Points
156
Location
canada
View attachment 6028

Hello, I bring you the okokChatV2 ESX version converted by me to QBCore (The file contains both versions).

Make sure to read the README.md ‼️


UPDATE: ATTENTION [Only QBCore Version] - I notice that the PM command doesn´t work, you need to edit line 824 in server.lua to xTargetName = getName(xTarget) to fix the problem.

UPDATE: 26/04/2022 - 12:20 [Only QBCore Version] - All the people who download the script after this hour will have all working properly.
If you got downloaded it before, make what is detailed above, in the first update and also change the lines 938, 1003 in server.lua to xTargetName = getName(xTarget)


Preview:

@Ares esx convert new download

Good contribution -> Script - okokChatV2 - QBCore and ESX
working?
 

kenzy047

Member
Joined
Feb 6, 2022
Messages
11
Reaction score
0
Points
156
Location
Indonesia
View attachment 6028

Hello, I bring you the okokChatV2 ESX version converted by me to QBCore (The file contains both versions).

Make sure to read the README.md ‼️


UPDATE: ATTENTION [Only QBCore Version] - I notice that the PM command doesn´t work, you need to edit line 824 in server.lua to xTargetName = getName(xTarget) to fix the problem.

UPDATE: 26/04/2022 - 12:20 [Only QBCore Version] - All the people who download the script after this hour will have all working properly.
If you got downloaded it before, make what is detailed above, in the first update and also change the lines 938, 1003 in server.lua to xTargetName = getName(xTarget)


Preview:

@Ares esx convert new download

Good contribution -> Script - okokChatV2 - QBCore and ESX
good
 

kenzy047

Member
Joined
Feb 6, 2022
Messages
11
Reaction score
0
Points
156
Location
Indonesia
nicee
View attachment 6028

Hello, I bring you the okokChatV2 ESX version converted by me to QBCore (The file contains both versions).

Make sure to read the README.md ‼️


UPDATE: ATTENTION [Only QBCore Version] - I notice that the PM command doesn´t work, you need to edit line 824 in server.lua to xTargetName = getName(xTarget) to fix the problem.

UPDATE: 26/04/2022 - 12:20 [Only QBCore Version] - All the people who download the script after this hour will have all working properly.
If you got downloaded it before, make what is detailed above, in the first update and also change the lines 938, 1003 in server.lua to xTargetName = getName(xTarget)


Preview:

@Ares esx convert new download

Good contribution -> Script - okokChatV2 - QBCore and ESX
nicee good work
 

kenzy047

Member
Joined
Feb 6, 2022
Messages
11
Reaction score
0
Points
156
Location
Indonesia
View attachment 6028

Hello, I bring you the okokChatV2 ESX version converted by me to QBCore (The file contains both versions).

Make sure to read the README.md ‼️


UPDATE: ATTENTION [Only QBCore Version] - I notice that the PM command doesn´t work, you need to edit line 824 in server.lua to xTargetName = getName(xTarget) to fix the problem.

UPDATE: 26/04/2022 - 12:20 [Only QBCore Version] - All the people who download the script after this hour will have all working properly.
If you got downloaded it before, make what is detailed above, in the first update and also change the lines 938, 1003 in server.lua to xTargetName = getName(xTarget)


Preview:

@Ares esx convert new download

Good contribution -> Script - okokChatV2 - QBCore and ESX
THANKS
 

He1ztv23

Member
Joined
Jul 28, 2022
Messages
10
Reaction score
0
Points
156
Location
US
View attachment 6028

Hello, I bring you the okokChatV2 ESX version converted by me to QBCore (The file contains both versions).

Make sure to read the README.md ‼️


UPDATE: ATTENTION [Only QBCore Version] - I notice that the PM command doesn´t work, you need to edit line 824 in server.lua to xTargetName = getName(xTarget) to fix the problem.

UPDATE: 26/04/2022 - 12:20 [Only QBCore Version] - All the people who download the script after this hour will have all working properly.
If you got downloaded it before, make what is detailed above, in the first update and also change the lines 938, 1003 in server.lua to xTargetName = getName(xTarget)


Preview:

@Ares esx convert new download

Good contribution -> Script - okokChatV2 - QBCore and ESX
 
Top