Dear all,
I was busy with creating my own vehicle speedometer. I searched for an RPM option which is aparently an option from GLUA noted under [URL="https://wiki.garrysmod.com/page/Vehicle/GetRPM"]Vehicle:GetRPM()[/URL].
It somehow doesn't seem to work. Any ideas?
Error code:
[ERROR] lua/autorun/sh_speedometer.lua:135: attempt to call method 'GetRPM' (a nil value)
1. v - lua/autorun/sh_speedometer.lua:135
2. unknown - lua/includes/modules/hook.lua:84
Kind regards,
Koen
[img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Vehicle/GetRPM]Vehicle:GetRPM[/url] is serverside
AFAIK the reason alot of the vehicle function are specifically serverside is because IClientVehicle (I think that's the name) was only available serverside.
Sorry, you need to Log In to post a reply to this thread.