I will no longer be maintaining/supporting this resource. The GitHub repo has been archived. Fork it if you want to update it yourself.
This is just a simple resource which you can use to spawn any car in front of you. I noticed some people having issues using this (old) topic so decided to upload my own version which i made a few weeks ago but never released it.
Feel free to edit this as you see fit. I will NOT be updating this with any feature requests.
Commands
/car <vehicle name> (if you don’t specify a vehicle name the adder will be spawned by default)
Are you using a modified chat resource? If so, it probably won’t work on your server because the chat resource needs to support RegisterCommand(). (most modified chat resources don’t support that)
Not sure, if your chat roles resources replaces the regular chat resource then yes it might be that. Just try it using the default chat resource, if it still doesn’t work let me know.
There is, but I won’t be adding that as it’s only meant to be a very simple /car command which you can expand/make it work for your server yourself.
is there a way to just spawn one type of car… so if i type /car just one can spawn, dont want /car (name) so can spawn other cars, all i want is able to just spawn a taxi thats it?
Actually, if you don’t insert any model name after /car, the adder will spawn by default.
You mean you want to use /car command without anything else to spawn always the taxi?
You have to edit the line 11 in the client.lua instead of adder
Ok got it, well I think that this could be useful for you to create “zones” in your server, I saw it time ago. I can’t help you telling the script to spawn the taxi when you enter a zone but I don’t think it’s so difficult when you know the command.
is it possible to get this to look through a list of steam id’s (steam:000000000000000) to lock the command to certain people?
i want to add it so certain people on the server have an easy way to spawn a car, without needing to give them access to a server side cheat menu.
i tried my take on it, but now it simply does not work regardless of what i try… i tried copying the whitelist feature from RealisticVehicleFailure, but that one seems to require a server component, not sure how to make it work.