error 029: invalid expression, assumed zero
#1

C:\Users\MELKTERT\Desktop\new server\gamemodes\tdm.pwn(87 -- 8 : error 029: invalid expression, assumed zero
C:\Users\MELKTERT\Desktop\new server\gamemodes\tdm.pwn(93 -- 94) : error 029: invalid expression, assumed zero
C:\Users\MELKTERT\Desktop\new server\gamemodes\tdm.pwn(117) : error 029: invalid expression, assumed zero
C:\Users\MELKTERT\Desktop\new server\gamemodes\tdm.pwn(117) : error 029: invalid expression, assumed zero
C:\Users\MELKTERT\Desktop\new server\gamemodes\tdm.pwn(117) : error 029: invalid expression, assumed zero
C:\Users\MELKTERT\Desktop\new server\gamemodes\tdm.pwn(117) : fatal error 107: too many error messages on one line

Line 87 -- 88:
Код:
		 case 2
		 {
Line 93 -- 94:
Код:
  		 case 3
  		 {
Line 117:
Код:
        SetPlayerColor(playerid, CopsColor);
Reply
#2

You missing :

PHP код:
case 2:
case 
3
Reply
#3

Ok so thats fixed now, what about line 117? It's still giving the same error.
Reply
#4

Quote:
Originally Posted by Melktert
Посмотреть сообщение
Ok so thats fixed now, what about line 117? It's still giving the same error.
Have you defined CopsColor as a hexadecimal?
Reply
#5

Like this?

Код:
#define CopsColor 0x000EBFE9
Reply
#6

Quote:
Originally Posted by Melktert
Посмотреть сообщение
Like this?

Код:
#define CopsColor 0x000EBFE9
Yes. Show us the code above and below line 117 please.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)