itHyperoX Posted September 4, 2017 Share Posted September 4, 2017 Hi, im stuck with this little problem. How can i get it? I'm 100% sure i'm doing something wrong addCommandHandler("info",function() local info = dxGetStatus("VideoCardName") outputChatBox(info) end) Link to comment
Ahmed Ly Posted September 4, 2017 Share Posted September 4, 2017 addCommandHandler("info",function() local info = dxGetStatus() outputChatBox(""..info["VideoCardName"].."",0,255,255,true) end ) 1 Link to comment
itHyperoX Posted September 4, 2017 Author Share Posted September 4, 2017 Thanks. How can i make this to "hoursToMinutes? function minutesToHours(minutes) local totalMin = tonumber(minutes) if totalMin then local hours = math.floor(totalMin/60)--math.fmod(math.floor(totalMin/60), 24) local minutes = totalMin - hours*60--math.fmod(math.floor(totalMin), 60) if hours and minutes then return hours,minutes else return 0,0 end end end Link to comment
GrubaS Posted September 4, 2017 Share Posted September 4, 2017 If u want u have here my script which checking everything like VideoCardName etc. https://community.multitheftauto.com/index.php?p=resources&s=details&id=11451 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now