Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: :P on May 01, 2016, 07:42 PM

Title: suddenly
Post by: :P on May 01, 2016, 07:42 PM
after restarting my server my all acrs colours changed to black why no error :'( :'( :'( :'(
Title: Re: suddenly
Post by: Thijn on May 01, 2016, 08:03 PM
Where are the colors defined, in the server.conf or in your script?
Title: Re: suddenly
Post by: :P on May 01, 2016, 08:08 PM
database @Thijn
Title: Re: suddenly
Post by: Thijn on May 01, 2016, 08:09 PM
How are your colors saved, and how do you load them. Give us some snippets.
Title: Re: suddenly
Post by: :P on May 01, 2016, 08:11 PM
this system i using
http://forum.vc-mp.org/?topic=1177.0
Title: Re: suddenly
Post by: Thijn on May 01, 2016, 08:25 PM
What does your database say? Are the colors there?
Title: Re: suddenly
Post by: :P on May 01, 2016, 08:34 PM
@Thijn
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi63.tinypic.com%2F32zmfky.png&hash=6ac9dde0d8633db40114996667db86c0ca6ffa86)
Title: Re: suddenly
Post by: :P on May 02, 2016, 07:14 PM
if no one can solve this problem tell me how to change car colours with cmds which change car colours from db
Title: Re: suddenly
Post by: Thijn on May 02, 2016, 08:56 PM
The colors are there. So show us your code that's suppose to load them.
Title: Re: suddenly
Post by: KAKAN on May 03, 2016, 04:01 AM
Quote from: Thijn on May 02, 2016, 08:56 PMThe colors are there. So show us your code that's suppose to load them.
He has posted the script which loads the cars from the DB.
Title: Re: suddenly
Post by: Thijn on May 03, 2016, 06:20 AM
Quote from: KAKAN on May 03, 2016, 04:01 AM
Quote from: Thijn on May 02, 2016, 08:56 PMThe colors are there. So show us your code that's suppose to load them.
He has posted the script which loads the cars from the DB.
That snippet looks fine. So it's probably his script that's broken.