25.02.2012, 11:24
Hello folks, I need some help, I gained this error "error 010: invalid function or declaration", And i have no idea how, This is my pawn code lines.
(This is a filterscript.)
Error:
And, Yes i'm a newbie on scripting, I would love to gain help from some experienced scripters.
The whole OnFilterScriptInit:
Please, Help,
Sincerely,
Tom
(This is a filterscript.)
Error:
PHP код:
\samp03dsvr_R2_win32\filterscripts\ManHole.pwn(18) : error 010: invalid function or declaration
\samp03dsvr_R2_win32\filterscripts\ManHole.pwn(23) : error 010: invalid function or declaration
PHP код:
//ArmyBuilding2 // Line 17
ArmySecondBuildingSewersEnter = CreatePickup(1318, 1, 290.1432, 1909.3739, 100.4071, -1); // Line 18
ArmySecondBuildingSewersExit = CreatePickup(1318, 1, -80.2782,1763.3628,349.5543, -1); // Line 19
// Line 20
// Line 21
// The Woods SEWER Exit // Line 22
TheWoodsSewerEnter = CreatePickup(1318, 1, -74.1693,1774.5923,349.8957, -1); // Line 23
The whole OnFilterScriptInit:
PHP код:
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" ---------- Filterscript by Tom");
print("--------------------------------------\n");
return 1;
}
//ArmyBuilding2
ArmySecondBuildingSewersEnter = CreatePickup(1318, 1, 290.1432, 1909.3739, 100.4071, -1);
ArmySecondBuildingSewersExit = CreatePickup(1318, 1, -80.2782,1763.3628,349.5543, -1);
// The Woods SEWER Exit
TheWoodsSewerEnter = CreatePickup(1318, 1, -74.1693,1774.5923,349.8957, -1);
Sincerely,
Tom