07.08.2018, 09:54
Hi guys
I need idea how to make unlimited number of cars,vehicles etc(For player).Now I have "slots",for example
,for houses
Now I don't know what is best way to make unlimited system.For example now when i want to "print"(on stats etc) player vehicles I do just this:
I don't know how to do it if i make "unlimited system"(if i don't store ID of vehicles in player variable..)
I need every time to do for loop and check which vehicles are in player property(with strcmp) is there any better possibility
I use MySQL!
Thanks
I need idea how to make unlimited number of cars,vehicles etc(For player).Now I have "slots",for example
Quote:
Vehicle1 Vehicle2 Vehicle3 Vehicle4 |
Quote:
House1 House2 .. |
Код:
new id = PlayerInfo[playerid][Vehicle1]; VehicleInfo[id][Model]
I need every time to do for loop and check which vehicles are in player property(with strcmp) is there any better possibility
I use MySQL!
Thanks