• What is the model and vehicle name of the jalopy from hl2ep2
    2 replies, posted
you know in darkrp in addentities.lua, the addvehicle function, you need to put the model and the class of the vehicle, what are they D: im guessing class is "Jalopy" and model is "models/vehicles/jalopy.mdl"
Here's how you can find out yourself (This is true for any entity) using [url=http://wiki.garrysmod.com/?title=Lua_run_(console_command)]lua_run[/url] : [code]lua_run ent = Entity(1):GetEyeTrace.Entity[/code] Now ent contains whichever entity you were looking at, you can then use lua_run again to print values. [code]lua_run print(ent:GetClass(), ent:GetModel())[/code]
Update to DarkRP 2.3.7, where you can write getvehicles or something like that in console, and it will print a list of available cars on your server.
Sorry, you need to Log In to post a reply to this thread.