Function heading differs from prototype
#1

I get this error:
YSI/y_hooks/impl.inc(1755) : error 025: function heading differs from prototype

on this code:

Код:
new Float:gQUAD[28][3] = {
{-2563.8455,-1507.4001,358.5058},
{-2577.2019,-1472.7889,358.4970},
{-2513.9290,-1419.9513,347.7614},
{-2439.1836,-1381.5688,335.2477},
{-2305.6624,-1345.7375,297.0228},
{-2249.7014,-1341.1055,274.7868},
{-2292.0691,-1279.2002,256.9989},
{-2338.9463,-1251.2589,240.0871},
{-2252.8416,-1284.5221,226.4850},
{-2427.0210,-1160.4713,184.2305},
{-2524.1409,-1130.9763,177.9583},
{-2599.3843,-1176.3071,192.4554},
{-2666.7781,-1348.5331,247.3667},
{-2710.1404,-1485.2551,291.3923},
{-2599.8997,-1615.8002,341.9313},
{-2583.7813,-1657.2732,350.6854},
{-2544.8586,-1801.1155,373.1238},
{-2549.8921,-1766.8033,382.0579},
{-2556.7839,-1675.7717,397.2978},
{-2516.8867,-1743.1743,401.4614},
{-2441.7839,-1809.5182,409.8407},
{-2458.7390,-1740.1329,425.2882},
{-2419.8137,-1751.5237,433.0191},
{-2280.1406,-1723.9487,470.9093},
{-2305.6597,-1662.7915,483.1450},
{-2312.6543,-1633.3802,483.1811},
{-2291.4580,-1655.2102,482.5912},
{-2269.5078,-1695.5411,479.5316}
};
Also y_commands doesn't work at all and I have no idea why. Every command I type that is in the gamemode just returns "unknown command" (aside from rcon commands, and filterscripts)
Reply
#2

The problem is in impl.inc(1755) and not in your script.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)