One little help - 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: One little help (
/showthread.php?tid=244202)
One little help -
Vlad_Dubonos - 26.03.2011
Код:
C:\Documents and Settings\xp\щемзп дтбегд\Farmer's Roleplay\Farmer's Roleplay\gamemodes\Hillside.pwn(26624) : error 017: undefined symbol "NameTimer"
C:\Documents and Settings\xp\щемзп дтбегд\Farmer's Roleplay\Farmer's Roleplay\gamemodes\Hillside.pwn(28038) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Hmm how to fix that?
Re: One little help -
BuLLeT[LTU] - 26.03.2011
You need do forward OnPlayerPrivmsg
and you need to define NameTimer like ' new NameTimer; '
Re : One little help -
Vukilore - 26.03.2011
define the symbol and type
forward OnPlayerPrivmsg
before the function
Re: One little help -
Lewwy - 26.03.2011
EDIT: Was too slow in replying, do as above.
Re: One little help -
Vlad_Dubonos - 26.03.2011
Where i need to add it? give me example please
Re: One little help -
BuLLeT[LTU] - 26.03.2011
On the top of the script:
and before
public OnPlayerPrivmsg(...)
write
pawn Код:
forward OnPlayerPrivmsg(...);
Re: One little help -
Vlad_Dubonos - 26.03.2011
Код:
C:\Documents and Settings\xp\щемзп дтбегд\Farmer's Roleplay\Farmer's Roleplay\gamemodes\Hillside.pwn(26622) : error 029: invalid expression, assumed zero
C:\Documents and Settings\xp\щемзп дтбегд\Farmer's Roleplay\Farmer's Roleplay\gamemodes\Hillside.pwn(28040) : error 025: function heading differs from prototype
C:\Documents and Settings\xp\щемзп дтбегд\Farmer's Roleplay\Farmer's Roleplay\gamemodes\Hillside.pwn(28041) : error 021: symbol already defined: "OnPlayerPrivmsg"
C:\Documents and Settings\xp\щемзп дтбегд\Farmer's Roleplay\Farmer's Roleplay\gamemodes\Hillside.pwn(28104) : warning 203: symbol is never used: "CustomPickups"
C:\Documents and Settings\xp\щемзп дтбегд\Farmer's Roleplay\Farmer's Roleplay\gamemodes\Hillside.pwn(28104) : warning 203: symbol is never used: "NameTimer"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.
Re: One little help -
Vlad_Dubonos - 26.03.2011
Bump
anyone can do that on Team Viewr?