SA-MP Forums Archive
Symbol already defined - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Symbol already defined (/showthread.php?tid=223420)



Symbol already defined - cloudysky - 09.02.2011

All help would be appreciated this is my error.

error 021: symbol already defined: "OnPlayerText"

If you know how to fix can you tell me it and then an example in code then it's easier to understand

Thanks in advance


Re: Symbol already defined - Medal Of Honor team - 09.02.2011

you have defined callback OnPlayerText twice. Remove one


Re: Symbol already defined - Sasino97 - 09.02.2011

Remove one of the two
pawn Код:
public OnPlayerText(playerid, text)
or copy the things of one to the other.