Timer Errors. - 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: Timer Errors. (
/showthread.php?tid=413306)
Timer Errors. -
a.z.a.r - 04.02.2013
i just red
This Tutorial
and did whatever it said.
But i'm getting the following errors.
pawn Код:
D:\Rockstar Games\GTA San Andreas\Windows Server\gamemodes\TESTONE.pwn(71) : error 017: undefined symbol "RoundTime"
D:\Rockstar Games\GTA San Andreas\Windows Server\gamemodes\TESTONE.pwn(80) : error 017: undefined symbol "GameTimer"
D:\Rockstar Games\GTA San Andreas\Windows Server\gamemodes\TESTONE.pwn(83) : error 017: undefined symbol "Timer"
D:\Rockstar Games\GTA San Andreas\Windows Server\gamemodes\TESTONE.pwn(84) : error 017: undefined symbol "Timer"
D:\Rockstar Games\GTA San Andreas\Windows Server\gamemodes\TESTONE.pwn(85) : error 017: undefined symbol "Timer"
D:\Rockstar Games\GTA San Andreas\Windows Server\gamemodes\TESTONE.pwn(86) : error 017: undefined symbol "Timer"
D:\Rockstar Games\GTA San Andreas\Windows Server\gamemodes\TESTONE.pwn(87) : error 017: undefined symbol "Timer"
D:\Rockstar Games\GTA San Andreas\Windows Server\gamemodes\TESTONE.pwn(88) : error 017: undefined symbol "Timer"
D:\Rockstar Games\GTA San Andreas\Windows Server\gamemodes\TESTONE.pwn(89) : error 017: undefined symbol "Timer"
D:\Rockstar Games\GTA San Andreas\Windows Server\gamemodes\TESTONE.pwn(90) : error 017: undefined symbol "Timer"
D:\Rockstar Games\GTA San Andreas\Windows Server\gamemodes\TESTONE.pwn(91) : error 017: undefined symbol "Timer"
D:\Rockstar Games\GTA San Andreas\Windows Server\gamemodes\TESTONE.pwn(97) : warning 235: public function lacks forward declaration (symbol "GameModeExitFunc")
D:\Rockstar Games\GTA San Andreas\Windows Server\gamemodes\TESTONE.pwn(100) : error 017: undefined symbol "GameTimer"
D:\Rockstar Games\GTA San Andreas\Windows Server\gamemodes\TESTONE.pwn(101) : error 017: undefined symbol "Timer"
D:\Rockstar Games\GTA San Andreas\Windows Server\gamemodes\TESTONE.pwn(129) : error 017: undefined symbol "Timer"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
14 Errors.
Re: Timer Errors. -
spedico - 04.02.2013
Add these:
pawn Код:
new GameMinutes =1;
new GameSeconds =00; // Put the time for which you gm will run
new GameTimer;
new Text:Timer;
new RoundTime = 60000;//1 minutes = 60 seconds => Put here 60 x 1000 = 60000
forward GameModeExitFunc(playerid);
forward GameTime(playerid); // gamemode of gamemode changing and exit
forward GameModeExitFunc(playerid); // gamemode of gamemode changing and exit
On top of you script.
Re: Timer Errors. -
a.z.a.r - 04.02.2013
ok thankx man helpful it works now