Posts: 484
Threads: 49
Joined: Feb 2011
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?
Posts: 484
Threads: 49
Joined: Feb 2011
Posts: 484
Threads: 49
Joined: Feb 2011
Ok, i know for that, but for me that don't work, i make pawn.cfg with -;+ -(+ but i stil have warnings...
Posts: 484
Threads: 49
Joined: Feb 2011
Ravens RP
There is on script top
#pragma semicolon 0
Posts: 178
Threads: 7
Joined: Oct 2011
Reputation:
0
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 :@