having problems with this - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: having problems with this (
/showthread.php?tid=418017)
having problems with this -
akki - 23.02.2013
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
Re: having problems with this -
Gamer_007 - 23.02.2013
Man first of all use the variable.
Re: having problems with this -
akki - 23.02.2013
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
Re: having problems with this -
Gamer_007 - 23.02.2013
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