pawno compiler map -
KNIGHT786 - 28.12.2016
hi guys i have have map when i try to compile it it shows these errors
D:\supers\New folder\filterscripts\map dark.pwn(663) : error 030: compound statement not closed at the end of file (started at line 9)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
some lines
Код:
#include <streamer>
public OnFilterScriptInit()
{
CreateObject(3279, 236.35368, 1894.04663, 16.82031, 356.85840, 0.00000, 3.14159);
CreateObject(3279, 266.08273, 1831.06982, 16.82031, 356.85840, 0.00000, 3.14159);
CreateObject(713, -2539.59644, 1296.70972, 15.47656, 0.00000, 0.00000, 0.00000);
CreateObject(16294, 17.46014, 1756.77283, 21.61719, 356.85840, 0.00000, 3.14159);
CreateObject(3277, 17.26112, 1754.64014, 22.37500, 356.85840, 0.00000, 3.14159);
CreateObject(3267, 17.06108, 1754.70557, 22.41406, 356.85840, 0.00000, 3.14159);
CreateObject(1232, -1483.11768, 824.52734, 9.06470, 356.85840, 0.00000, 3.14160);
Re: pawno compiler map -
AndreiWow - 28.12.2016
Код:
public OnFilterScriptInit()
{
CreateObject(3279, 236.35368, 1894.04663, 16.82031, 356.85840, 0.00000, 3.14159);
CreateObject(3279, 266.08273, 1831.06982, 16.82031, 356.85840, 0.00000, 3.14159);
CreateObject(713, -2539.59644, 1296.70972, 15.47656, 0.00000, 0.00000, 0.00000);
CreateObject(16294, 17.46014, 1756.77283, 21.61719, 356.85840, 0.00000, 3.14159);
CreateObject(3277, 17.26112, 1754.64014, 22.37500, 356.85840, 0.00000, 3.14159);
CreateObject(3267, 17.06108, 1754.70557, 22.41406, 356.85840, 0.00000, 3.14159);
CreateObject(1232, -1483.11768, 824.52734, 9.06470, 356.85840, 0.00000, 3.14160);
return 1;
}
You forgot to close it with "}"
Re: pawno compiler map -
KNIGHT786 - 29.12.2016
ooh thanks rep+
Re: pawno compiler map -
Yaa - 29.12.2016
and you forgot a_samp include
PHP код:
#include <a_samp>
#include <streamer>
public OnFilterScriptInit()
{
CreateObject(3279, 236.35368, 1894.04663, 16.82031, 356.85840, 0.00000, 3.14159);
CreateObject(3279, 266.08273, 1831.06982, 16.82031, 356.85840, 0.00000, 3.14159);
CreateObject(713, -2539.59644, 1296.70972, 15.47656, 0.00000, 0.00000, 0.00000);
CreateObject(16294, 17.46014, 1756.77283, 21.61719, 356.85840, 0.00000, 3.14159);
CreateObject(3277, 17.26112, 1754.64014, 22.37500, 356.85840, 0.00000, 3.14159);
CreateObject(3267, 17.06108, 1754.70557, 22.41406, 356.85840, 0.00000, 3.14159);
CreateObject(1232, -1483.11768, 824.52734, 9.06470, 356.85840, 0.00000, 3.14160);
return 1;
}
Re: pawno compiler map -
Sew_Sumi - 29.12.2016
If you're using the streamer, then use its functions. Don't mix and match as it will cause trouble and end up confusing you.