[RELEASE] guille_selltonpcs

Thanks

Looks very cool. Keep up the great work.

1 Like

Thanks for the support!

Hello i get this error

2 Likes

Hi, you just have to edit the 28 and remove the ESX in front of ShowFloatingHelpNotification, then you have to add this function (with a tab between the function and the end):


function ShowFloatingHelpNotification(msg, coords)
AddTextEntry(‘FloatingHelpNotification’, msg)
SetFloatingHelpTextWorldPosition(1, coords)
SetFloatingHelpTextStyle(1, 1, 2, -1, 3, 0)
BeginTextCommandDisplayHelp(‘FloatingHelpNotification’)
EndTextCommandDisplayHelp(2, false, false, -1)
end


With this it should work :smile:

1 Like

Im getting this error, anyone know how to fix?

Extended?

Support multiple drugs? Or can I use 1 resource per drug?

1 Like

Both, you can use elseif or duplicate the resource.

im also getting this error im new to setting up server im using esx

Are you using esx 1.2? If not, you will need to change xPlayer.

im using esx 1 how do i change x Player

I recommend you to upgade to extended 1.2, it’s all better. If you to keep using 1.1, try to use xlimit in the item check (I don’t make scripts with 1.1 since a lot time ago, i’m not sure if it will work).

Did you mean es_extended 1.2?

Yes :grinning:

"Hi, you just have to edit the 28 and remove the ESX in front of ShowFloatingHelpNotification, then you have to add this function (with a tab between the function and the end):

function ShowFloatingHelpNotification(msg, coords)
AddTextEntry(‘FloatingHelpNotification’, msg)
SetFloatingHelpTextWorldPosition(1, coords)
SetFloatingHelpTextStyle(1, 1, 2, -1, 3, 0)
BeginTextCommandDisplayHelp(‘FloatingHelpNotification’)
EndTextCommandDisplayHelp(2, false, false, -1)
end

With this it should work :smile:"

Hello, I have this error, where should I put this?

1 Like

Inside de client side of the script.

how add cocaine? xD

Change the name of the item in server-side.

how i can add cocaine? that the script work with two items and different pice