Problem
#1

Hi guys,im creating textdraw to show kills of teams,so i added textdraw and loop,but i get errors in this piece of code:

pawn Код:
new usakills[128];
            format(usakills, sizeof(usakills), "Usa Kills: %s",UsaKills(i));
            TextDrawSetString(usakills[i], usakills);

------

Код:
error 021: symbol already defined: "usakills"
warning 219: local variable "usakills" shadows a variable at a preceding level
error 012: invalid function call, not a valid address
 warning 215: expression has no effect
 error 001: expected token: ";", but found ")"
 error 029: invalid expression, assumed zero
 fatal error 107: too many error messages on one line
Reply
#2

Help please !
Reply
#3

pawn Код:
new usakills1[128];
format(usakills1, sizeof(usakills1), "Usa Kills: %s",UsaKills(i));
TextDrawSetString(usakills[i], usakills1);
Reply
#4

LoL? It's same...
Reply
#5

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
LoL? It's same...
No it's not. Read it character for character... You'll see a difference.
Reply
#6

I mean,i get same errors.
Reply
#7

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
I mean,i get same errors.
So the problem is somewhere else then.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)