2020-10-26, 10:30 AM
(2020-10-26, 10:06 AM)Expert* Wrote:PHP Code:for(new i = 0; i < rows && i < MAX_GIFT; i)
or
PHP Code:for(new i = 0; i < rows; i)
{
? ? if( i ==?MAX_GIFT ) break;
? ? // ...
Uhm, it obviously isn't a problem because their database's ending is 50 and their loop was already limiting it to MAX_GIFT :D
But yeah, if( i ==?MAX_GIFT ) break; is fine
It's something else, probably related to g_gift
Using Pawn.CMD?
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.