SA-MP Forums Archive
[HELP]OnPlayerUpdate - 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: [HELP]OnPlayerUpdate (/showthread.php?tid=261375)



[HELP]OnPlayerUpdate - PanDa996 - 13.06.2011

Hi all, i've a problem with my GameMode.. I can't compile because i have a error...

Код:
C:\Documents and Settings\Administrator\Desktop\shelby\gamemodes\ShelbyVille.pwn(2970) : warning 235: public function lacks forward declaration (symbol "OnPlayerFadeFlashed")
C:\Documents and Settings\Administrator\Desktop\shelby\gamemodes\ShelbyVille.pwn(5665) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\shelby\gamemodes\ShelbyVille.pwn(13479) : error 021: symbol already defined: "OnPlayerUpdate"
C:\Documents and Settings\Administrator\Desktop\shelby\gamemodes\ShelbyVille.pwn(15229) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Sorry for my bad english.

This is the GM:

GameMode

Thanks ^_^


Re: [HELP]OnPlayerUpdate - Lorenc_ - 13.06.2011

You already have a OnplayerUpdate defined somewhere, get rid of it.


Re: [HELP]OnPlayerUpdate - PanDa996 - 13.06.2011

ehm.. Sorry, but the things which are written in that callback, you do not find anywhere else, can you fix it?


Re: [HELP]OnPlayerUpdate - Ash. - 13.06.2011

Put the things from one of the duplicates in the other; delete the on you copied data/script from and happy birthday.


Re: [HELP]OnPlayerUpdate - PanDa996 - 03.07.2011

Uhm... On player update, is already defined in the SpikeStrip.inc or no?