MySQL Queries (Vehicle System).
#6

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Well, you should've mentioned everything in your thread. Even if I read the above quote, I still don't get few things.

What ID?

The loop goes from 1 to the size of vInfo array and it only checks if maxHit is 1. How is that supposed to check for an empty row?

If it's not needed, then pass INVALID_PLAYER_ID but keep the correct arguments.

I believe you've confused about hitMax. Is it supposed to be an array and check for it? In the loop above, if hitMax is 1, the loop will break from the start.
Okay, sorry, please ignore me. I had like 4 hours sleep and 8 hours in the morning coding... I overlooked the obvious things.. so after playing without scripting for a bit and whatnot, I realized the problem... so yeah...

Again -- it was my failed knowledge to MySQL within samp... I'll try sleeping... or maybe caffeine next time :l
Reply


Messages In This Thread
MySQL Queries (Vehicle System). - by Ryan_Undering - 21.02.2014, 12:25
Re: MySQL Queries (Vehicle System). - by Ryan_Undering - 21.02.2014, 15:36
Re: MySQL Queries (Vehicle System). - by Konstantinos - 21.02.2014, 15:53
Re: MySQL Queries (Vehicle System). - by Ryan_Undering - 21.02.2014, 16:16
Re: MySQL Queries (Vehicle System). - by Konstantinos - 21.02.2014, 16:32
Re: MySQL Queries (Vehicle System). - by Ryan_Undering - 21.02.2014, 16:48

Forum Jump:


Users browsing this thread: 2 Guest(s)