SA-MP Forums Archive
w00t? - 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: w00t? (/showthread.php?tid=443092)



w00t? - und3rcore - 10.06.2013

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.


Re: w00t? - OpticKiller - 10.06.2013

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