Can somebody... -
Lars_Frederiksen - 01.12.2010
Help me fix this error?
pawn Код:
#include <a_samp>
#include <streamer>
#define FILTERSCRIPT
//------------------------------------------------------------------------------
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Intox Interior || LSR:GTA Roleplay");
print("--------------------------------------\n");
//------------------------------------------------------------------------------
//Intox
CreateDynamicObject(17951, 227.04942321777, 67.078742980957, 1005.8159790039, 0.000000, 0.000000, 359.25,-1,-1,-1, 3000.0); //
CreateDynamicObject(17951, 237.26292419434, 66.979446411133, 1005.8159790039, 0.000000, 358.25, 358.99743652344,-1,-1,-1, 3000.0); //
CreateDynamicObject(17951, 234.29420471191, 64.113426208496, 1005.8159790039, 0.000000, 359.99768066406, 269.26501464844,-1,-1,-1, 3000.0); //
CreateDynamicObject(17951, 229.26739501953, 64.098556518555, 1005.8159790039, 0.000000, 359.99450683594, 269.26391601563,-1,-1,-1, 3000.0); //
CreateDynamicObject(1649, 233.36199951172, 69.994125366211, 1005.7048339844, 0.000000, 0.000000, 0.000000,-1,-1,-1, 3000.0); //
CreateDynamicObject(1649, 229.04330444336, 69.945457458496, 1005.7048339844, 0.000000, 0.000000, 0.000000,-1,-1,-1, 3000.0); //
CreateDynamicObject(2607, 231.08241271973, 67.009574890137, 1004.434753418, 0.000000, 0.000000, 90.010009765625,-1,-1,-1, 3000.0); //
CreateDynamicObject(2607, 231.89527893066, 67.038093566895, 1004.434753418, 0.000000, 0.000000, 269.765625,-1,-1,-1, 3000.0); //
CreateDynamicObject(1714, 229.86973571777, 66.895202636719, 1004.0390625, 0.000000, 0.000000, 92.060546875,-1,-1,-1, 3000.0); //
CreateDynamicObject(2724, 233.14552307129, 67.138412475586, 1004.5595703125, 0.000000, 0.000000, 270.27026367188,-1,-1,-1, 3000.0); //
CreateDynamicObject(1506, 227.09791564941, 68.306411743164, 1004.0086669922, 0.000000, 0.000000, 270.990234375,-1,-1,-1, 3000.0); //
CreateDynamicObject(1506, 225.61047363281, 68.808525085449, 1004.0390625, 0.000000, 0.000000, 180.55383300781,-1,-1,-1, 3000.0); //
CreateDynamicObject(2921, 237.16777038574, 64.330459594727, 1006.9066162109, 0.000000, 0.000000, 0.000000,-1,-1,-1, 3000.0); //
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerConnect(playerid)
{
return 1;
}
#endif
Код:
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\filterscripts\intox.pwn(37) : error 026: no matching "#if..."
Re: Can somebody... -
willsuckformoney - 01.12.2010
pawn Код:
#include <a_samp>
#include <streamer>
//------------------------------------------------------------------------------
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Intox Interior || LSR:GTA Roleplay");
print("--------------------------------------\n");
//------------------------------------------------------------------------------
//Intox
CreateDynamicObject(17951, 227.04942321777, 67.078742980957, 1005.8159790039, 0.000000, 0.000000, 359.25,-1,-1,-1, 3000.0); //
CreateDynamicObject(17951, 237.26292419434, 66.979446411133, 1005.8159790039, 0.000000, 358.25, 358.99743652344,-1,-1,-1, 3000.0); //
CreateDynamicObject(17951, 234.29420471191, 64.113426208496, 1005.8159790039, 0.000000, 359.99768066406, 269.26501464844,-1,-1,-1, 3000.0); //
CreateDynamicObject(17951, 229.26739501953, 64.098556518555, 1005.8159790039, 0.000000, 359.99450683594, 269.26391601563,-1,-1,-1, 3000.0); //
CreateDynamicObject(1649, 233.36199951172, 69.994125366211, 1005.7048339844, 0.000000, 0.000000, 0.000000,-1,-1,-1, 3000.0); //
CreateDynamicObject(1649, 229.04330444336, 69.945457458496, 1005.7048339844, 0.000000, 0.000000, 0.000000,-1,-1,-1, 3000.0); //
CreateDynamicObject(2607, 231.08241271973, 67.009574890137, 1004.434753418, 0.000000, 0.000000, 90.010009765625,-1,-1,-1, 3000.0); //
CreateDynamicObject(2607, 231.89527893066, 67.038093566895, 1004.434753418, 0.000000, 0.000000, 269.765625,-1,-1,-1, 3000.0); //
CreateDynamicObject(1714, 229.86973571777, 66.895202636719, 1004.0390625, 0.000000, 0.000000, 92.060546875,-1,-1,-1, 3000.0); //
CreateDynamicObject(2724, 233.14552307129, 67.138412475586, 1004.5595703125, 0.000000, 0.000000, 270.27026367188,-1,-1,-1, 3000.0); //
CreateDynamicObject(1506, 227.09791564941, 68.306411743164, 1004.0086669922, 0.000000, 0.000000, 270.990234375,-1,-1,-1, 3000.0); //
CreateDynamicObject(1506, 225.61047363281, 68.808525085449, 1004.0390625, 0.000000, 0.000000, 180.55383300781,-1,-1,-1, 3000.0); //
CreateDynamicObject(2921, 237.16777038574, 64.330459594727, 1006.9066162109, 0.000000, 0.000000, 0.000000,-1,-1,-1, 3000.0); //
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerConnect(playerid)
{
return 1;
}
Re: Can somebody... -
Backwardsman97 - 01.12.2010
Yeah I was gonna say remove the "#define FILTERSCRIPT". It just gave you the error because you didn't put
Re: Can somebody... -
6d - 01.12.2010
Please next time put a descriptive title.
Will's solution may be right.
Re: Can somebody... -
willsuckformoney - 01.12.2010
May be? It is, he had #define FILTERSCRIPT and #endif at the bottom with no #if defined in the script. You don't need the #define FILTERSCRIPT at all.