hey im just wondering what can i do to fix this error!
C:\Users\advent\Desktop\my server\filterscripts\test.pwn(51) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
my code is
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" test map");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
RemoveBuildingForPlayer(playerid, 1266, 591.7266, -1508.9297, 25.3125, 0.25);
RemoveBuildingForPlayer(playerid, 1260, 591.7266, -1508.9297, 25.3047, 0.25);
CreateObject(8399, 581.95, -1513.02, 17.93, 0.00, 0.00, 270.14);
CreateObject(14819, 600.61, -1514.10, 14.99, 0.00, 0.00, 269.81);
CreateObject(1687, 587.09, -1505.76, 23.69, 0.00, 0.00, 0.00);
CreateObject(1689, 600.08, -1517.88, 23.93, 0.00, 0.00, 270.55);
CreateObject(1692, 592.29, -1516.94, 22.66, 0.00, 0.00, 270.03);
CreateObject(1692, 592.29, -1509.10, 22.66, 0.00, 0.00, 270.03);
CreateObject(970, 615.30, -1498.42, 14.26, 0.00, 0.00, 0.00);
CreateObject(970, 611.16, -1498.45, 14.23, 0.00, 0.00, 0.00);
CreateObject(970, 607.02, -1498.44, 14.25, 0.00, 0.00, 0.00);
CreateObject(970, 602.86, -1498.44, 14.25, 0.00, 0.00, 358.24);
CreateObject(970, 598.77, -1497.90, 14.46, 0.00, 0.00, 347.83);
CreateObject(970, 594.70, -1497.10, 14.46, 0.00, 0.00, 347.83);
CreateObject(970, 590.66, -1496.23, 14.47, 0.00, 0.00, 347.83);
CreateObject(970, 586.61, -1495.36, 14.47, 0.00, 0.00, 347.83);
CreateObject(970, 582.57, -1494.43, 14.47, 0.00, 0.00, 347.83);
CreateObject(1264, 614.84, -1523.27, 14.48, 0.00, 0.00, 0.00);
CreateObject(1264, 614.10, -1523.09, 14.48, 0.00, 0.00, 0.00);
CreateObject(1264, 614.51, -1522.47, 14.48, 0.00, 0.00, 0.00);
CreateVehicle(463, 604.2027, -1509.9487, 14.5211, 241.4432, -1, -1, 100);
CreateVehicle(463, 604.5576, -1508.7614, 14.5211, 241.4432, -1, -1, 100);
CreateVehicle(463, 604.8351, -1507.6958, 14.5211, 241.4432, -1, -1, 100);
CreateVehicle(463, 605.0500, -1506.5115, 14.5211, 241.4432, -1, -1, 100);
CreateVehicle(463, 604.1194, -1516.8962, 14.5211, 288.1880, -1, -1, 100);
CreateVehicle(463, 604.6458, -1518.0979, 14.5211, 288.1880, -1, -1, 100);
CreateVehicle(463, 605.1519, -1519.4756, 14.5211, 288.1880, -1, -1, 100);
CreateVehicle(463, 605.4124, -1520.6896, 14.5211, 288.1880, -1, -1, 100);
#endif
return 1;
}