[PAID] vsPropPlacer
[Description]
Our vsPropPlacer system creates completely new roleplay possibilities on your FiveM server! Players can play out and design situations much more individually. See for yourself and watch our showcase video.
All placed Props are saved in the database.
Get this Script at our Store for just 12.99 € !
Showcase
Config
Config = {}
Config.EnableDebug = false
Config.IdleTick = 500
-- 'ESX'
Config.Framework = 'ESX'
-- draw a smal dot when you are near a placed prop
Config.DrawTarget = false
-- let the prop glow while you place it
Config.ObjectGlow = true
-- remove item after use
Config.RemoveOnUse = true
-- place draw distance, max place distance, max pickup distance
Config.MaxDistance = {10.0, 2.0, 2.0}
-- https://docs.fivem.net/docs/game-references/controls/
Config.Controles = {
['confirm'] = 24, -- confirm placement > left mouse button
['cancel'] = 200, -- cancel placement > esc
['clockwise'] = 17, -- rotate object > scroll wheel
['counterclockwise'] = 16, -- rotate object > scroll wheel
['pickup'] = 38 -- pickup object > E
}
Config.Translation = {
-- progressbar
['place'] = 'placing object...',
['teardown'] = 'pickup object...',
-- help notifications
['onplace'] = '~INPUT_ATTACK~ Confirm\n~INPUT_FRONTEND_PAUSE_ALTERNATE~ Cancel\n~INPUT_SELECT_PREV_WEAPON~ Rotate clockwise\n~INPUT_SELECT_NEXT_WEAPON~ Rotate counterclockwise',
['onplace_toofar'] = '~INPUT_FRONTEND_PAUSE_ALTERNATE~ Cancel\n~INPUT_SELECT_PREV_WEAPON~ Rotate clockwise\n~INPUT_SELECT_NEXT_WEAPON~ Rotate counterclockwise',
['pickup'] = 'Press ~INPUT_PICKUP~ to pickup the Prop\nPress ~INPUT_SPRINT~ + ~INPUT_PICKUP~ to take the Prop'
}
Config.HelpNotification = function(text)
AddTextEntry('HelpNotification', text)
BeginTextCommandDisplayHelp('HelpNotification')
EndTextCommandDisplayHelp(0, false, true, -1)
end
Config.vsProgressBar = false -- Activates the fully configurable vsProgressbar (required script vsProgressbar: https://vibescripts.tebex.io/category/2132061)
Props [Example]; We preconfigured about 100 Props!
['prop_oiltub_06'] = {
Label = 'Prop Oiltub 06',
Freeze = true,
DisableSprint = true,
Animation = {'anim@heists@box_carry@', 'idle'},
PropPlacement = {
Prop = 'hei_prop_heist_box',
PropBone = 60309,
PropPlacement = {0.025, 0.08, 0.255, -145.0, 290.0, 0.0},
},
PlaceAnimation = {'pickup_object', 'putdown_low', 600, 600},
PickupAnimation = {'pickup_object', 'putdown_low', 600, 600},
},
Optimization
- IDLE (Server): 0.00ms
- IDLE (Client): 0.01ms
Further Information
SHOP: vsPropPlacer
This resource is using the FiveM Asset Escrow system
To use the Progressbar from the Showcase-Video, you need our vsProgressBar
| Code is accessible | No |
| Subscription-based | No |
| Lines (approximately) | 750 |
| Requirements | ESX and mysql-async |
| Support | Yes |
