One little help
#1

Код:
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?
Reply
#2

You need do forward OnPlayerPrivmsg
and you need to define NameTimer like ' new NameTimer; '
Reply
#3

define the symbol and type
forward OnPlayerPrivmsg
before the function
Reply
#4

EDIT: Was too slow in replying, do as above.
Reply
#5

Where i need to add it? give me example please
Reply
#6

On the top of the script:
pawn Код:
new NameTimer;
and before
public OnPlayerPrivmsg(...)
write
pawn Код:
forward OnPlayerPrivmsg(...);
Reply
#7

Код:
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.
Reply
#8

Bump
anyone can do that on Team Viewr?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)