having problems with this
#1

i dont know what is wrong in this. it is not an error it is just a warning but still i am scared to test it as i think it may create problem with my code.

Код:
#define MAX_PLAYERS 50
here is an example where i use it

Код:
new materials[MAX_PLAYERS];
and the warning i get is

Код:
D:\san andreas\server\gamemodes\flixter_rp.pwn(65) : warning 201: redefinition of constant/macro (symbol "MAX_PLAYERS")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
please help
Reply
#2

Man first of all use the variable.
Reply
#3

Quote:
Originally Posted by Gamer_007
Посмотреть сообщение
Man first of all use the variable.
i did use it.
when a player connects it changes that current value to 0
Reply
#4

Quote:
Originally Posted by akki
Посмотреть сообщение
i did use it.
when a player connects it changes that current value to 0
Just show the whole code
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)