Help Errors.
#1

How to fix this.
Код:
C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(28729) : error 001: expected token: ",", but found "-identifier-"
C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(28729) : error 076: syntax error in the expression, or invalid function call
C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(28729) : error 029: invalid expression, assumed zero
C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(28729) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Код:
format(string,sizeof(string),"{8C831F} #%d - {DBCE40}%s By %s",i+1,TopRaceDrivers[raceid][i],(TopRaceTimes[raceid][i]) GetTimeAsStringEx);
Reply
#2

Код:
format(string,sizeof(string),"{8C831F} #%d - {DBCE40}%s By %s",i+1,TopRaceDrivers[raceid][i],TopRaceTimes[raceid][i], GetTimeAsStringEx);
Reply
#3

now have 1error Help Please


Код:
C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(28729) : error 076: syntax error in the expression, or invalid function call
Код:
format(string,sizeof(string),"{8C831F} #%d - {DBCE40}%s By %s",i+1,TopRaceDrivers[raceid][i],TopRaceTimes[raceid][i], GetTimeAsStringEx);
Reply
#4

Help
Reply
#5

Well, I've noticed with LocMax's code, there is a missing closing bracket. I'm not sure if this will solve the problem though.

pawn Код:
format(string,sizeof(string),"{8C831F} #%d - {DBCE40}%s By %s",i+1,TopRaceDrivers[raceid][i],TopRaceTimes[raceid][i], GetTimeAsStringEx));
See what that gives you.
Reply
#6

Quote:
Originally Posted by PrivatioBoni
Посмотреть сообщение
Well, I've noticed with LocMax's code, there is a missing closing bracket. I'm not sure if this will solve the problem though.

pawn Код:
format(string,sizeof(string),"{8C831F} #%d - {DBCE40}%s By %s",i+1,TopRaceDrivers[raceid][i],TopRaceTimes[raceid][i], GetTimeAsStringEx));
See what that gives you.
dont work this now have 2 errors :P
Reply
#7

What is GetTimeAsStringEx ? Can you show me the function?
Reply
#8

Quote:
Originally Posted by VanSiera
Посмотреть сообщение
dont work this now have 2 errors :P
And.. what are they?

Sometimes 1 error is worse than 10 errors.
Reply
#9

GetTimeAsStringEx is a function and it must be called with () and its parameters (if it has any).
Reply
#10

Код:
C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(28729) : error 001: expected token: ",", but found ";"
Код:
format(string,sizeof(string),"{8C831F} #%d - {DBCE40}%s By %s",i+1,TopRaceDrivers[raceid][i],TopRaceTimes[raceid][i],GetTimeAsStringEx();
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)