weeztor / darkrp

Automatically exported from code.google.com/p/darkrp
0 stars 1 forks source link

Vehicle Max #956

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
My suggestion is:
Well since "AddEntity" has a limit on how much you can have, i was wondering if 
it was possible to do that with "AddCustomVehicle". I know this would kinda be 
a problem since vehicles are "prop_vehicle_jeep".

Why this should be in DarkRP by default and not a third party addon:

Im saying this because if you were to have lets say a Jeep for citizens and a 
air boats for like Mob boss, you would want to make a limit on how much air 
boats the mob-boss can spawn since he would spawn it for others.

For the problem with the car being the same entity could you do something like 
this? - No so good at lua.

if v:GetModel() == 'car/model' then
setlimit blah blah

Original issue reported on code.google.com by emind...@hotmail.com on 29 Sep 2012 at 1:18

GoogleCodeExporter commented 9 years ago
rp_maxvehicles does the job, it would be confusing to add a second limit per 
vehicle.

Original comment by fpeijnen...@gmail.com on 29 Sep 2012 at 6:21