Variable not displaying.
#1

Deleted.
Reply
#2

I have the same problem. I'm working on a vehicle system as well uskng YINI. Even in my case, The owner's name won't be displayed. Everything loads fine.
Reply
#3

Add a vOwned in the enum and check if the car is owned or not (if owned show the name of the owner).

and don't forget to do vehStat[vehid][vOwned] = 1; when someone buy a vйhicule to stock it into the BDD.
Sorry for my bad english i'm french x)
Reply
#4

Quote:
Originally Posted by Napst34
Посмотреть сообщение
Add a vOwned in the enum and check if the car is owned or not (if owned show the name of the owner).

and don't forget to do vehStat[vehid][vOwned] = 1; when someone buy a vйhicule to stock it into the BDD.
Sorry for my bad english i'm french x)
I already have that. I have the "vOwnerID" variable.
Reply
#5

the vOwned check if the care is owned or not, if owned it's 1 if not it's 0
Reply
#6

Quote:
Originally Posted by Napst34
Посмотреть сообщение
the vOwned check if the care is owned or not, if owned it's 1 if not it's 0
That is not the problem. I've found something new tho.
Let's say I have 1 vehicle. If I enter it, the string doesn't display the variable.
But if I have 2 vehicle, then my first vehicle will send the message with the right variable, and the second vehicle won't.
This applies to every amount of cars. Only the last car doesn't display the variable.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)