Errors that i cannot explain.
#1

Hi,

Why is this code giving me errors? Everything seems OK.

Code:

Код:
	format(smallstring[0], sizeof smallstring[0],"%d%d%d%d%d",random(9),random(9),random(9),random(9),random(9)); // used for the uniqe faction code
	mysql_real_escape_string(smallstring[0], eStr[0]);
Errors:

Код:
C:\Users\Tol\Desktop\ML-V3 16 juli 2011\pawno\include\homemadeincludes/factions.inc(61) : error 001: expected token: "]", but found "-integer value-"
C:\Users\Tol\Desktop\ML-V3 16 juli 2011\pawno\include\homemadeincludes/factions.inc(61) : warning 215: expression has no effect
C:\Users\Tol\Desktop\ML-V3 16 juli 2011\pawno\include\homemadeincludes/factions.inc(61) : error 001: expected token: ";", but found "]"
C:\Users\Tol\Desktop\ML-V3 16 juli 2011\pawno\include\homemadeincludes/factions.inc(61) : error 029: invalid expression, assumed zero
C:\Users\Tol\Desktop\ML-V3 16 juli 2011\pawno\include\homemadeincludes/factions.inc(61) : fatal error 107: too many error messages on one line
This should work, right?? Why it isn't working?

Greetz,
Danny
Reply


Messages In This Thread
Errors that i cannot explain. - by Danny - 17.07.2011, 09:13
Re: Errors that i cannot explain. - by [HiC]TheKiller - 17.07.2011, 09:14
Re: Errors that i cannot explain. - by Danny - 17.07.2011, 09:17
Re: Errors that i cannot explain. - by [HiC]TheKiller - 17.07.2011, 09:32
Re: Errors that i cannot explain. - by MoroDan - 17.07.2011, 09:36
Re: Errors that i cannot explain. - by Pghpunkid - 17.07.2011, 09:40
Re: Errors that i cannot explain. - by Danny - 17.07.2011, 10:06

Forum Jump:


Users browsing this thread: 1 Guest(s)