#1

I'm trying to compile my script and i get this weirdo error:

C:\Users\Administrator\Desktop\Server\gamemodes\so urce.pwn(693) : warning 201: redefinition of constant/macro (symbol "strcpy(%0,%1,%2)")

Line 693 (#define):

Код:
//------------------------------------------------------------------------------
// strcpy - Simon / ******
#define strcpy(%0,%1,%2) \
strcat((%0[0] = '\0', %0), %1, %2)
//------------------------------------------------------------------------------
Also i checked if i have strcpy 2 times in the script but nope it's the only one i got. +REP for the one who finds a way to fix this!

Thanks in advance

EDIT: Fixed, it was defined already inside an include. Someone delete/lock this.
Reply
#2

only a warning dont really hurt your [GM] or script anyways try adding it under the includes. on top
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)