help plz its say unable to load filterscript plz help
#1

#include <a_samp>

#define FILTERSCRIPT
#define COLOR_DARKBLUE 0x0000D0FF
#define COLOR_WHITE 0xFFFFFFFF
#define COLOR_LIGHTBLUE 0xBBFFFFFF
#define COLOR_BLACK 0x000000FF
#define COLOR_RED 0xAA3333AA
#if defined FILTERSCRIPT
main()
{

}
public OnPlayerConnect(playerid)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
return 1;
}
public OnFilterScriptInit()

{
print("=========================================== ===============");
print(" nrg ball V2.0 ");
print(" Created by stuntnmore ");
print(" Released 11/7/2008 ");
print("=========================================== ===============");


//Objects
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 10.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 15.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 20.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 25.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 30.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 35.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 40.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 45.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 50.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 55.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 60.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 65.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 70.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 75.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 80.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 85.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 90.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 95.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 100.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 105.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 110.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 115.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 120.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 125.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 130.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 135.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 140.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 145.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 150.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 155.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 160.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 165.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 170.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 175.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 180.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 185.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 190.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 195.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 200.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 205.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 210.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 215.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 220.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 225.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 230.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 235.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 240.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 245.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 250.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 255.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 260.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 265.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 270.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 275.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 280.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 285.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 290.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 295.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 300.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 305.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 310.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 315.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 320.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 325.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 330.00); //nrgball
CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 335.00); //nrgball

return 1;
}

public OnFilterScriptExit()
{
return 1;
}

#else

main()
{
print("nrg ball V2.0 by stuntnmore loaded");
}

#endif

public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/Nrgball", true) == 0)
{

if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 522)
{
SendClientMessage(playerid, COLOR_RED, "Welcome to the ball");
SetVehiclePos(GetPlayerVehicleID(playerid), -1299.1689,-98.2901,14.9644);
SetVehicleZAngle(GetPlayerVehicleID(playerid), 3.872666);
LinkVehicleToInterior(GetPlayerVehicleID(playerid) , 0);
}
return 1;
}
return 0;
}
Reply
#2

Now it should Work :

Код:
#include <a_samp>

#define FILTERSCRIPT
#define COLOR_DARKBLUE 0x0000D0FF
#define COLOR_WHITE 0xFFFFFFFF
#define COLOR_LIGHTBLUE 0xBBFFFFFF
#define COLOR_BLACK 0x000000FF
#define COLOR_RED 0xAA3333AA
#if defined FILTERSCRIPT

#pragma tabsize 0

public OnFilterScriptInit()

{
  print("==========================================================");
  print("          nrg ball V2.0           ");
  print("         Created by stuntnmore         ");
  print("          Released 11/7/2008          ");
  print("==========================================================");


  //Objects
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 10.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 15.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 20.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 25.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 30.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 35.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 40.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 45.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 50.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 55.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 60.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 65.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 70.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 75.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 80.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 85.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 90.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 95.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 100.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 105.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 110.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 115.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 120.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 125.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 130.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 135.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 140.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 145.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 150.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 155.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 160.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 165.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 170.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 175.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 180.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 185.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 190.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 195.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 200.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 205.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 210.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 215.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 220.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 225.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 230.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 235.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 240.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 245.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 250.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 255.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 260.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 265.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 270.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 275.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 280.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 285.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 290.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 295.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 300.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 305.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 310.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 315.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 320.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 325.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 330.00); //nrgball
  CreateObject(13592, -1299.56, -97.65, 23.14, 0.00, 0.00, 335.00); //nrgball

  return 1;
}

public OnFilterScriptExit()
{
  return 1;
}

#else


#endif

public OnPlayerCommandText(playerid, cmdtext[])
{
  if(strcmp(cmdtext, "/Nrgball", true) == 0)
  {

    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 522)
    {
      SendClientMessage(playerid, COLOR_RED, "Welcome to the ball");
      SetVehiclePos(GetPlayerVehicleID(playerid), -1299.1689,-98.2901,14.9644);
      SetVehicleZAngle(GetPlayerVehicleID(playerid), 3.872666);
      LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
    }
    return 1;
  }
  return 0;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)