• Welcome to Vice City Multiplayer.
 

Small compiling problem with pawno

Started by Tonys, January 12, 2010, 01:14:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tonys

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..

PlayerX

weaponchecktimer = SetTimer("WeaponCheckTimer", 5000, 1,"i",i);

No SetTimer, is SetTimerEx and not implemented yet.

is
weaponchecktimer = SetTimer("WeaponCheckTimer", 5000, 1);

:/