y_timer warning (YSI 3.1) - 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: y_timer warning (YSI 3.1) (
/showthread.php?tid=321688)
y_timer warning (YSI 3.1) -
Dragony92 - 28.02.2012
warning 218: old style prototypes used with optional semicolumns
I'm getting that warning on every timer line....
e.g.
ptask Production[300000](playerid)
task SyncUp[60000]()
How to reslove this problem?
Re: y_timer warning (YSI 3.1) -
Dragony92 - 28.02.2012
BUMP
Re: y_timer warning (YSI 3.1) -
Psymetrix - 28.02.2012
https://sampforum.blast.hk/showthread.php?tid=321135
Re: y_timer warning (YSI 3.1) -
Dragony92 - 28.02.2012
Ok, i know for that, but for me that don't work, i make pawn.cfg with -;+ -(+ but i stil have warnings...
Re: y_timer warning (YSI 3.1) -
Dragony92 - 28.02.2012
Ravens RP
There is on script top
#pragma semicolon 0
Re: y_timer warning (YSI 3.1) -
Mic_H - 04.01.2014
Had this same error messing with me..
It happens when you already have a Global Variable with the name of timer..
Eg: new Production[MAX_PLAYERS];
followed by
ptask Production[1000](playerid)
I know I wasnt useful for him, but this might help a future searcher..
Edit: Wrong topic.. Was trying to fix something.. Misposted.. Dunno to delete :@