SetTimer help
#1

pawn Код:
D:\Game\RP\gamemodes\TRRP2dot3.pwn(625) : error 021: symbol already defined: "SetTimer"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
pawn Код:
SetTimer("SpeedCamsTimer", 1000, true);
how to fix this ?
Reply
#2

check your script for public functions or stocks because SetTimer function is already defined somewhere
Reply
#3

Quote:
Originally Posted by warlord321
Посмотреть сообщение
pawn Код:
D:\Game\RP\gamemodes\TRRP2dot3.pwn(625) : error 021: symbol already defined: "SetTimer"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
pawn Код:
SetTimer("SpeedCamsTimer", 1000, true);
how to fix this ?
You already defined the SetTimer in your GM.
pawn Код:
SetTimer("SpeedCamsTimer", 1000, true);
remove this line then pawn

Then again problem occurs visit this page and found solution

https://sampforum.blast.hk/showthread.php?tid=133801
Reply
#4

Quote:
Originally Posted by PakistaniBaba
Посмотреть сообщение
You already defined the SetTimer in your GM.
pawn Код:
SetTimer("SpeedCamsTimer", 1000, true);
remove this line then pawn

Then again problem occurs visit this page and found solution

https://sampforum.blast.hk/showthread.php?tid=133801
That's a pointless way to fix it.

On topic: make sure you didn't include <a_samp> more than 1 time and make sure the SetTimer is in a callback.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)