Help ERRORS REPP + +
#1

I'm getting this ERRORS.How to fix them ? Help.





Код:
{
SendClientMessage(k, COLOR_WHITE, "|__________________ Hitman Agencija Vesti __________________|");
SendClientMessage(k, COLOR_DBLUE, "*** Doagja poraka: Metata stana dostapna. ***");
format(string, sizeof(string),"Osoba: %s ID: %d Cena: $%d", ImeIgraca(i), i, CenaZaUbistvo(i));
SendClientMessage(k, COLOR_DBLUE, string);
SendClientMessage(k, COLOR_YELLOW, "Koristete /givehit za da dodelite hit na nekogo");
SendClientMessage(k, COLOR_WHITE, "|________________________________________________________|");
}
Line 3072
Код:
format(string, sizeof(string),"Osoba: %s ID: %d Cena: $%d", ImeIgraca(i), i, CenaZaUbistvo(i);
Reply
#2

try to change line 3072 to this:
Код:
format(string, sizeof(string),"Osoba: %s ID: %d Cena: $%d", ImeIgraca(i), i, CenaZaUbistvo(i));
Reply
#3

Quote:
Originally Posted by MikE1990
Посмотреть сообщение
try to change line 3072 to this:
Код:
format(string, sizeof(string),"Osoba: %s ID: %d Cena: $%d", ImeIgraca(i), i, CenaZaUbistvo(i));
Nope.. Same Errors
Reply
#4

BUMB
Reply
#5

You still have errors on line 3072 ?
Reply
#6

PHP код:
format(stringsizeof(string),"Osoba: %s ID: %d Cena: $%d"ImeIgraca(i), iCenaZaUbistvo(i); 
Could you show where you got the "i" variable?
Reply
#7

Quote:
Originally Posted by MikE1990
Посмотреть сообщение
You still have errors on line 3072 ?
YES!!



Quote:
Originally Posted by Affan
Посмотреть сообщение
PHP код:
format(stringsizeof(string),"Osoba: %s ID: %d Cena: $%d"ImeIgraca(i), iCenaZaUbistvo(i); 
Could you show where you got the "i" variable?
I don't understand.
Reply
#8

invalid function call, not a valid address

Means that either one of them or both are variables (arrays) and not functions (so it'd be [i] instead of (i)):
ImeIgraca(i)
CenaZaUbistvo(i)

How have you defined them?
Reply
#9

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
invalid function call, not a valid address

Means that either one of them or both are variables (arrays) and not functions (so it'd be [i] instead of (i)):
ImeIgraca(i)
CenaZaUbistvo(i)

How have you defined them?
How to define them. I'm new.
Reply
#10

Quote:
Originally Posted by Vizi
Посмотреть сообщение
How to define them. I'm new.
#define ImeIgraca[MAX_PLAYERS] like this
Correct me if im wrong
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)