[RELEASE] [tota_scooter] Scooter Rent 🙌

Uh very nice models! But not sure if this is normal

3 Likes

Nice scripts but when i rent the scooter my char became invisible and after the rental time ended my char remained like that

4 Likes

Ya, it’s “normal” if you can say it that way. It’s pretty hard to change positions on de meta file, but I got something not that bad. I´ll try to improve though :slight_smile:

4 Likes

Don´t really know what could be happening. It works totally fine on my server

2 Likes

I will use this :smiley:

Thank you!

3 Likes

nicely done, it works pretty well ^^
i tweaked the handling a bit so it’s not so overpowered
is there a way to get rid of the helmet though?
i tried it with something i saw in another thread, but no success so far

3 Likes

Pretty sure it doesnt, a loop on 15 minutes, that removes helmet if not on vehicle with id 30000.

So u could be on the bike for 14,9 minutes before it removes it? :stuck_out_tongue:
Anyhow - you spelled:
playerVeh when getting it and when checking it u spelled it:
gPlayerVeh
^^

3 Likes

I took it from other forum lmao. I’ll do something when I get to my pc

2 Likes

This will help! Just include it in any client script. It will disable the helmet thingy.

Citizen.CreateThread( function()

SetPedHelmet(GetPlayerPed(-1), false)

    while true do

        Citizen.Wait(900000)        

        local playerPed = GetPlayerPed(-1)

        local playerVeh = GetVehiclePedIsUsing(playerPed)

        if gPlayerVeh ~= 30000 then RemovePedHelmet(playerPed,true) end

    end

    

end)

Hope it helped! :slight_smile:

2 Likes

i mean that’s the same code as the post i referred to. i tried that and it didn’t work.
i tried the one you posted and that didn’t work either

2 Likes

Idk what could be happening. I put it in a client.lua from a already existing script and it worked just fine.

1 Like

it wont let me get on the scooters, should there be an sql file?

2 Likes

No. No sql needed. You need ESX basics. Extended, vehicleshop,…

1 Like

Where do you set the price for the rental?

1 Like

So I think the fxmanifest may be broken since yesterdays update on GitHub. The resource won’t start as it says the “fxmanifest.lua does not specify fx version.”

Not too sure how to get around that as it looks fine to me:
fx_version ‘cerulean’
game ‘gta5’

author ‘MCNMATOTA#2277’
description ‘tota_scooter’
version ‘1.0.0’

client_scripts {
“config.lua”,
“client/main.lua”
}

server_scripts {
“@mysql-async/lib/MySQL.lua”,
“config.lua”,
“server/main.lua”
}

Anyone have any ideas?

1 Like

I have
esx_advancedvehicleshop
it’s a replacment of esx_vehicleshop
i get this error

1 Like

fix for this?

1 Like

Hai, This Script is Awesome And Good Work To The Devoloper . So , i just got it installed on my server and had it on another language and some of the interaction menu u given there has no value in it , so one of the interaction button doesnt worked . also the locale

So if anyone want the english translate one of this script with removed unwanted interaction menu

You can use mine , The Link Will Be Given Below
scooterRent.rar (4.6 KB)

Full Credit Goes To The Respected Owner First Of all. I just edited to file to english and removed some unused menu
Hope It Helps :smiley:

1 Like

Amazing work! I just put it on the actual release!

Thank You @MCNMATOTA For Your Positive Reply, Keep Up The Great Work Brother.

1 Like