I'm getting this error when compiling my anti-minigun FS.
C:\Users\eee\Desktop\VCMP [PAWN]\filterscripts\antiminigun.pwn(18) : warning 202: number of arguments does not match definition
C:\Users\eee\Desktop\VCMP [PAWN]\filterscripts\antiminigun.pwn(18) : warning 202: number of arguments does not match definition
Here is the line that it's refering too -
weaponchecktimer = SetTimer("WeaponCheckTimer", 5000, 1,"i",i);
Rest of the OnFilterScriptInit -
public OnFilterScriptInit()
{
print("| ****** Anti-Minigun ******|");
print("| *** Created By: Tonys ***|");
print("|***************************|");
for(new i; i<MAX_PLAYERS; i++)
{
weaponchecktimer = SetTimer("WeaponCheckTimer", 5000, 1,"i",i);
return 1;
}
return 1;
}
Any help greatly appreciated.
First time using pawn..