When ever I try and deploy my car from the npc car dealer I get this error.
[ERROR} adddons/npc car dealer 2.5.0/lua/npcshop/server.lua:108:attempt to index local 'carspawns' <a nil value>
1. SpawnVehicle - addons/npc car dealer 2.5.0/lua/npcshop/server.lua:108
2. unknown - addons/npc car dealer 2.5.0/lua/npcshop/server.lua:148
3.unknown - lua/includes/modules/concommand.lua:69
Any help with this will be greatly appreciated!
carspawns is nil.
how do I fix that
[QUOTE=thelonewolf12;45785923]how do I fix that[/QUOTE]
It needs to be defined.
How do I do that?
[QUOTE=thelonewolf12;45785960]How do I do that?[/QUOTE]
Post your config file ( addons/npc car dealer 2.5.0/lua/npcshop/config.lua ).
And what map do you use?
[url]http://pastebin.com/k8fNUmDq[/url]
I use rp_downtown_v4c_v2
[QUOTE=thelonewolf12;45786089][url]http://pastebin.com/k8fNUmDq[/url]
I use rp_downtown_v4c_v2[/QUOTE]
On line 20 change "rp_downrown_v4c_v2" to "rp_downtown_v4c_v2 "
That was it! just a simple spelling error.
Thanks Coding!
Sorry, you need to Log In to post a reply to this thread.