y_timer warning (YSI 3.1)
#1

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?
Reply
#2

BUMP
Reply
#3

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

Ok, i know for that, but for me that don't work, i make pawn.cfg with -;+ -(+ but i stil have warnings...
Reply
#5

Ravens RP
There is on script top
#pragma semicolon 0
Reply
#6

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 :@
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)