SA-MP Forums Archive
Nametimer 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: Nametimer Error (/showthread.php?tid=444464)



Nametimer Error - Lamare - 16.06.2013

C:\Users\San Andreas MP\Keyve\Raven's Roleplay 0.3c\gamemodes\Hillside.pwn(26624) : error 017: undefined symbol "NameTimer"
C:\Users\San Andreas MP\Keyve\Raven's Roleplay 0.3c\gamemodes\Hillside.pwn(2803 : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error. What does this mean? How can I fix this?


Re: Nametimer Error - OrMisicL - 16.06.2013

it means that the "NameTimer" variable is not defined, just add "new NameTimer" in the top of your script


Re: Nametimer Error - Lamare - 16.06.2013

Quote:

C:\Users\San Andreas MP\Keyve\Raven's Roleplay 0.3c\gamemodes\MiE.pwn(26625) : error 017: undefined symbol "nametimer"
C:\Users\San Andreas MP\Keyve\Raven's Roleplay 0.3c\gamemodes\MiE.pwn(28039) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivMsg")
C:\Users\San Andreas MP\Keyve\Raven's Roleplay 0.3c\gamemodes\MiE.pwn(28102) : warning 203: symbol is never used: "NameTimer"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

I got then when I did new NameTimer;


Re: Nametimer Error - McBan - 16.06.2013

Update your plugins along with your includes.


Re: Nametimer Error - Lamare - 16.06.2013

What do I put in there?


Re: Nametimer Error - Vince - 16.06.2013

It's a 0.2X script. It's going to need to be converted anyway.


Re: Nametimer Error - Lamare - 16.06.2013

How do I convert it?


Re: Nametimer Error - Pottus - 16.06.2013

Quote:
Originally Posted by Lamare
Посмотреть сообщение
How do I convert it?
Compile - fix first error - compile - repeat (pull out hair possibly)

This is also a prime example of why cramming every line of a script into a single .pwn file is non-sense.


Re: Nametimer Error - Lamare - 16.06.2013

.......