SA-MP Forums Archive
****** strcpy!! - 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: ****** strcpy!! (/showthread.php?tid=519458)



****** strcpy!! - GuyYahood1 - 14.06.2014

PHP код:
YSI\y_utils.inc(232) : warning 201redefinition of constant/macro (symbol "strcpy(%0,%1)"
How can I fix this?!!?!?


Re: ****** strcpy!! - Battlezone - 14.06.2014

I think You have already defined strcpy(%0,%1) in your gamemode, if so , delete it.


Re: ****** strcpy!! - GuyYahood1 - 14.06.2014

I don't defined. I checked in inlcudes..


Re: ****** strcpy!! - Amrev - 14.06.2014

show the code which uses strcpy.


Re: ****** strcpy!! - GuyYahood1 - 26.06.2014

I don't have code that uses strcpy.
Please help.


Re: ****** strcpy!! - GuyYahood1 - 27.06.2014

UP....


Re: ****** strcpy!! - n0minal - 07.12.2014

Ident it, im on mobile...

Код:
strcpy(dest[], const source[], maxlength=sizeof dest) { strcat((dest[0] = EOS, dest), source, maxlength); }



Re: ****** strcpy!! - Kaperstone - 07.12.2014

Quote:
Originally Posted by n0minal
Посмотреть сообщение
Ident it, im on mobile...

Код:
strcpy(dest[], const source[], maxlength=sizeof dest) { strcat((dest[0] = EOS, dest), source, maxlength); }
He is not asking for the command, but how to solve the problem this command does.

OT: You'll need to search for another function you created by yourself, if you won't find it, then simply ignore it.
Anyway, it's just a warning.