vRP-framework / vRP

FiveM (http://fivem.net) RP addon/framework
https://vrp-framework.github.io/vRP
MIT License
292 stars 191 forks source link

Remove weapons and fuel on car ped ? #81

Closed Armagryzor closed 7 years ago

Armagryzor commented 7 years ago

Hi Sir,

I would like to know if you planned to remove the weapons of cop ped and remove the possibility to carjack the car ped ? You made a very nice work .. congrat's... And as your framework is a roleplay game mode ..that's why , i think that it will be good idea that the players can't use or steal pead weapon/car.

Thank's and thank's a lot for your work :)

ImagicTheCat commented 7 years ago

Hi, It's a nice idea, but at the moment I try to explore the problem in another way. I want to exploit the wanted system of gtaV, make it more punitive, and alert the police for things as stealing cars. Sometimes, you may want to steal a ped car, in a car chase for example, having the fuel disappearing is not so interesting in that situation. And it will give work to the police.

Aleweadan commented 7 years ago

Really good idea if police can have alert of stealing car and player have a wanted lever.

Armagryzor commented 7 years ago

Thank's a lot for your reply!

i'm a player come from Arma 3 ( altis life game mode) also this is simple idea ( from arma 3) .. Is it possible to carjack a ped car only if you buy or if you have a tool ( name is lockpick on arma 3 ) and of course add you idea to alert cops player!?

ImagicTheCat commented 7 years ago

Not planned at this point, because there are no events client-side to cancel actions, it will need a lot of work.

Armagryzor commented 7 years ago

ok thank you :)

T3rg0s commented 7 years ago

You can do this with a little tips, using groups and permissions with inventory object (same as the phone). For lock/unlock, it's not really hard to add it with an external resource. @ImagicTheCat I will pull an external resource for lock system,and lockpick with chance to fail, if you want to integrate later :). For to remove weapons, there is giveweapons function could be used with the parameter true for clear_before statement. Personally I use it with no weapons parameters passed, and it's work perfectly for cop function and for in/out service RP.