30.07.2010, 18:07
Hey guys,
I am going to start on my first MySQL Vehicle Ownership system. It's an easy concept: A table vehicles, with all the neccesary data in it for the car's. Now is my question, how can I make a foreach loop for MySQL?
Like
So, I use StrickenKid's plugin.
I know enough MySQL in PAWN, but I have no idea how to use the Foreach function... Or maybe a loop? :S
Thanks,
Bas
I am going to start on my first MySQL Vehicle Ownership system. It's an easy concept: A table vehicles, with all the neccesary data in it for the car's. Now is my question, how can I make a foreach loop for MySQL?
Like
pawn Код:
Foreach(No idea what here)
{
UserCar[OWNER] = CreateVehicle(All the neccesary data...);
}
I know enough MySQL in PAWN, but I have no idea how to use the Foreach function... Or maybe a loop? :S
Thanks,
Bas