404rq / GTW-RPG

The lightweight and realistic game mode for Multi Theft Auto with features such as Civilians, Law and criminals, Gang wars and much more
https://www.404rq.com
BSD 2-Clause "Simplified" License
31 stars 45 forks source link

[bugfix] Fixing the DB error #79

Closed Anubhav652 closed 8 years ago

Anubhav652 commented 8 years ago

it fixes the MySQL error coming out by checking if the Mysql host value is nil/"" then it will decide the data type it should connect to nd then it will connect according to that.

paa93 commented 8 years ago

Looks good but needs to be changed in all affected resources

Anubhav652 commented 8 years ago

I'll do that no worries.