SA-MP Forums Archive
Already defined OnPlayerUpdate error - 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: Already defined OnPlayerUpdate error (/showthread.php?tid=322008)



Already defined OnPlayerUpdate error - Faisal_khan - 29.02.2012

Hi SAMP community

I have error on my gm. I updated public OnPlayerUpdate after it had an error stating thay i already defined the symbol.
A checked the whole script but i never found OnPlauerUpdate. Please help mewat happened. As i am using a mobile phone roght now to post this soo i will post the gm later.
Thank you fpr reading this.


Re: Already defined OnPlayerUpdate error - xDeadlyBoy - 29.02.2012

make sure you haven't defined OnPlayerUpdate more than once.


Re: Already defined OnPlayerUpdate error - Faisal_khan - 29.02.2012

Quote:
Originally Posted by xDeadlyBoy
View Post
make sure you haven't defined OnPlayerUpdate more than once.
Yeah bro i checked the whole script many times but still no trace of OnPlayerUpdate.


Re: Already defined OnPlayerUpdate error - WoodPecker - 29.02.2012

Post here the error so we can help you.


Re: Already defined OnPlayerUpdate error - Faisal_khan - 03.03.2012

Quote:
Originally Posted by WoodPecker
View Post
Post here the error so we can help you.
Here have this:
http://pastebin.com/ypjYgn9P


Re: Already defined OnPlayerUpdate error - Walsh - 03.03.2012

OnPlayerUpdate is not called anywhere in that pastebin link.


Re: Already defined OnPlayerUpdate error - Mark™ - 03.03.2012

Quote:
Originally Posted by Faisal_khan
View Post
he asked you to post the error line which you get on your pawno compiler when you click to compile, not the whole script !


Re: Already defined OnPlayerUpdate error - Faisal_khan - 03.03.2012

Quote:
Originally Posted by Walsh
View Post
OnPlayerUpdate is not called anywhere in that pastebin link.
Yeah man i know that . Can you fix it?


Re: Already defined OnPlayerUpdate error - Faisal_khan - 03.03.2012

Quote:
Originally Posted by WoodPecker
View Post
Post here the error so we can help you.
pawn Code:
E:\Faisal\Servers\SAMP 0.3d SERVER\gamemodes\test.pwn(1565) : error 021: symbol already defined: "OnPlayerUpdate"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.



Re: Already defined OnPlayerUpdate error - Faisal_khan - 03.03.2012

HEY GUYZ GOT THE SOL. FOR THE PROBLEM!!!!!!!!
I got the symbol in a filterscript which was useless :P so i removed it and now its fine!!!!

SOMEONE LOCK THIS TOPIC PLEASE!


Re: Already defined OnPlayerUpdate error - aco_SRBIJA - 03.03.2012

I thought it's in <views>


Re: Already defined OnPlayerUpdate error - Faisal_khan - 04.03.2012

Quote:
Originally Posted by aco_SRBIJA
View Post
I thought it's in <views>
LOL you were right hehe!


Re: Already defined OnPlayerUpdate error - Faisal_khan - 04.03.2012

/LOCKED