define PATH warning
#1

pawn Код:
C:\Documents and Settings\Aphex\Desktop\DRP\gamemodes\dominationrp.pwn(28) : warning 201: redefinition of constant/macro (symbol "PATH")
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.
I get this warning when I use these:

pawn Код:
#define PATH "/Users/%s.ini"
#define PATH "Weapons"
Any way to define them both without an error?
Reply
#2

You have defined 'PATH' twice...

#define PATH ...
#define PATH ...

You need to change it to something like:
pawn Код:
#define PATH "/Users/%s.ini"
#define WEP "Weapons"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)