SA-MP Forums Archive
Help: error 021: symbol already defined: "OnPlayerObjectMoved" - 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: Help: error 021: symbol already defined: "OnPlayerObjectMoved" (/showthread.php?tid=454077)



Help: error 021: symbol already defined: "OnPlayerObjectMoved" - Gal - 27.07.2013

I'm using the YSI include
when I put #include <YSI/y_ini> I got this error:



...\GTA\SAMP 0.3X\pawno\include\YSI\y_hooks/impl.inc(1443) : error 021: symbol already defined: "OnPlayerObjectMoved"

I'm using another include which using OnPlayerObjectMoved - How can I fix it?


Re: Help: error 021: symbol already defined: "OnPlayerObjectMoved" - MP2 - 27.07.2013

You need to use a BACK-slash, not a forward-slash (\ not /).

Just look at the file path:

\GTA\SAMP 0.3X\pawno\include\YSI\y_hooks/impl.inc(1443)

All back-slashes apart from the last one. You need to use \.


Re: Help: error 021: symbol already defined: "OnPlayerObjectMoved" - Gal - 27.07.2013

I have just put the files as they are in the rar folder. (I have just downloaded the system now YSI)
The error shows me this path, how can I change the path?


Re: Help: error 021: symbol already defined: "OnPlayerObjectMoved" - Gal - 27.07.2013

help?


Re: Help: error 021: symbol already defined: "OnPlayerObjectMoved" - Pandex - 04.08.2013

charge
Код:
<YSI/y_ini>
for
Код:
<YSI\y_ini>



Re: Help: error 021: symbol already defined: "OnPlayerObjectMoved" - Gal - 07.08.2013

Quote:
Originally Posted by Pandex
Посмотреть сообщение
charge
Код:
<YSI/y_ini>
for
Код:
<YSI\y_ini>
It was how you changed it before ..


Re: Help: error 021: symbol already defined: "OnPlayerObjectMoved" - BullseyeHawk - 08.08.2013

What other includes do you have? List them all please.