Szerző Téma: Sorompo  (Megtekintve 548 alkalommal)

Nem elérhető ZSOLTI99

  • 1827
    • Profil megtekintése
Sorompo
« Dátum: 2013. június 01. - 13:14:27 »
0 Show voters
Üdv. Csináltam ezt a sorompót de errort írt ki mi hiányzik belõle?
 
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(85) : warning 202: number of arguments does not match definition
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(96) : warning 217: loose indentation
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(96) : error 029: invalid expression, assumed zero
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(96) : error 004: function \"GateCheck2\" is not implemented
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(104) : warning 202: number of arguments does not match definition
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(115) : warning 217: loose indentation
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(115) : error 029: invalid expression, assumed zero
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(115) : error 004: function \"GateCheck3\" is not implemented
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(122) : warning 202: number of arguments does not match definition
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(125) : warning 217: loose indentation
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(128) : warning 217: loose indentation
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(133) : warning 217: loose indentation
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(133) : error 029: invalid expression, assumed zero
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(133) : error 004: function \"GateCheck4\" is not implemented
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(141) : warning 202: number of arguments does not match definition
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(152) : warning 217: loose indentation
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(152) : error 029: invalid expression, assumed zero
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(152) : error 004: function \"GateCheck5\" is not implemented
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(160) : warning 202: number of arguments does not match definition
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(171) : warning 217: loose indentation
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(171) : error 029: invalid expression, assumed zero
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(171) : error 004: function \"GateCheck6\" is not implemented
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(179) : warning 202: number of arguments does not match definition
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(190) : warning 217: loose indentation
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(190) : error 029: invalid expression, assumed zero
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(190) : error 004: function \"GateCheck7\" is not implemented
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(198) : warning 202: number of arguments does not match definition
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(209) : warning 217: loose indentation
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(209) : error 029: invalid expression, assumed zero
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(209) : error 004: function \"GateCheck8\" is not implemented
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(213) : error 029: invalid expression, assumed zero
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(217) : warning 202: number of arguments does not match definition
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(228) : warning 217: loose indentation
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(228) : error 029: invalid expression, assumed zero
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(228) : error 004: function \"GateCheck9\" is not implemented
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(236) : warning 202: number of arguments does not match definition
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(247) : warning 217: loose indentation
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(247) : error 029: invalid expression, assumed zero
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(247) : error 004: function \"GateCheck10\" is not implemented
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(255) : warning 202: number of arguments does not match definition
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(266) : warning 217: loose indentation
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(266) : error 029: invalid expression, assumed zero
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(266) : error 004: function \"GateCheck11\" is not implemented
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(274) : warning 202: number of arguments does not match definition
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(285) : warning 217: loose indentation
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(285) : error 029: invalid expression, assumed zero
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(285) : error 004: function \"GateCheck12\" is not implemented
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(293) : warning 202: number of arguments does not match definition
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(304) : warning 217: loose indentation
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(304) : error 029: invalid expression, assumed zero
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(304) : error 004: function \"GateCheck13\" is not implemented
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(312) : warning 202: number of arguments does not match definition
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(323) : warning 217: loose indentation
D:\\GTA modok\\Mod\\régi\\régi\\filterscripts\\kapu.pwn(323) : error 029: invalid expression, assumed zero
Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase
 
26 Errors.

 

#define FILTERSCRIPT
#include <a_objects>
#include <a_samp>
#include <fixchars>
#include sscanf2
#include <streamer>
new bool:gateopen;
new pdkapu;
new pdkapu2;
new pdkapu3;
new pdkapu4;
new pdkapu5;
new pdkapu6;
new pdkapu7;
new pdkapu8;
new pdkapu9;
new pdkapu10;
new pdkapu11;
new pdkapu12;
new pdkapu13;
new pdkapu14;
forward GateCheck1(playerid);
forward GateCheck2(playerid);
forward GateCheck3(playerid);
forward GateCheck4(playerid);
forward GateCheck5(playerid);
forward GateCheck6(playerid);
forward GateCheck7(playerid);
forward GateCheck8(playerid);
forward GateCheck9(playerid);
forward GateCheck10(playerid);
forward GateCheck11(playerid);
forward GateCheck12(playerid);
forward GateCheck13(playerid);
forward GateCheck14(playerid);
 
//Gamemode init alatt:
public OnGameModeInit()
{
pdkapu = CreateObject(968,-1641.8000500,572.9000200,39.4000000,0.0000000,268.5000000,316.2500000); //zárt pozició
SetTimer(\"GateCheck1\",500, 1);
pdkapu2 = CreateObject(968,-1643.5999800,557.4000200,38.7000000,0.0000000,268.4950000,315.4970000);
SetTimer(\"GateCheck2\",500, 1);
pdkapu3 = CreateObject(968,1773.9000200,686.0999800,16.2000000,0.0000000,267.9950000,350.7470000);
SetTimer(\"GateCheck3\",500, 1);
pdkapu4 = CreateObject(968,1782.9000200,684.5000000,16.0000000,0.0000000,268.0000000,350.5000000); //
SetTimer(\"GateCheck4\",500, 1);
pdkapu5 = CreateObject(968,1798.5999800,668.7999900,16.9000000,0.0000000,267.9900000,349.2440000);
SetTimer(\"GateCheck5\",500, 1);
pdkapu6 = CreateObject(968,2238.1999500,2450.3000500,10.6000000,0.0000000,270.7500000,270.0000000);
SetTimer(\"GateCheck6\",500, 1);
pdkapu7 = CreateObject(968,-1572.1999500,658.7000100,7.0000000,0.0000000,90.5000000,90.0000000);
SetTimer(\"GateCheck7\",500, 1);
pdkapu8 = CreateObject(968,-1701.4000200,687.7000100,24.5000000,0.0000000,86.2480000,269.0000000);
SetTimer(\"GateCheck8\",500, 1);
pdkapu9 = CreateObject(968,1544.6999500,-1630.6999500,13.1000000,0.0000000,269.5000000,270.0000000);
SetTimer(\"GateCheck9\",500, 1);
pdkapu10 = CreateObject(968,-2673.5000000,1268.5000000,55.2000000,0.0000000,269.0000000,0.0000000);
SetTimer(\"GateCheck10\",500, 1);
pdkapu11 = CreateObject(968,-2664.1999500,1268.6999500,55.3000000,0.0000000,269.0000000,0.0000000);
SetTimer(\"GateCheck11\",500, 1);
pdkapu12 = CreateObject(968,-2682.8000500,1281.0000000,55.7000000,0.0000000,269.0000000,0.0000000);
SetTimer(\"GateCheck12\",500, 1);
pdkapu13 = CreateObject(968,-2691.3999000,1280.5999800,55.5000000,0.0000000,268.9950000,0.7500000);
SetTimer(\"GateCheck13\",500, 1);
pdkapu14 = CreateObject(968,1789.4000200,670.4000200,16.8000000,0.0000000,267.9900000,349.9940000);
SetTimer(\"GateCheck14\",500, 1);
return 1;
}
public GateCheck1(playerid)
{
  for(new i; i < MAX_PLAYERS; i++)
  {
    if(IsPlayerInRangeOfPoint(i,5.0,-1641.8000500,572.9000200,39.4000000))  //zárt
    {
      if(gateopen == false)
      {
        MoveObject(pdkapu, 352.5000000,316.2500000,1.0); //felnyitjuk
        gateopen = true;
      }
      return 1;
    }
  }
  if(gateopen == true)
  {
    MoveObject(pdkapu, 0,352.5000000,316.2500000,1.0); //felnyitjuk
    gateopen = false;
  }
public GateCheck2(playerid)
{
  for(new i; i < MAX_PLAYERS; i++)
  {
    if(IsPlayerInRangeOfPoint(i,5.0,-1643.5999800,557.4000200,38.7000000))
    {
      if(gateopen == false)
      {
        MoveObject(pdkapu2, 354.2450000,315.4970000,1.0); //felnyitjuk
        gateopen = true;
      }
      return 1;
    }
  }
  if(gateopen == true)
  {
    MoveObject(pdkapu2, 0,354.2450000,315.4970000,1.0); //felnyitjuk
    gateopen = false;
  }
public GateCheck3(playerid)
{
  for(new i; i < MAX_PLAYERS; i++)
  {
    if(IsPlayerInRangeOfPoint(i,5.0,1773.9000200,686.0999800,16.2000000)) //zárt
      if(gateopen == false)
      {
        MoveObject(pdkapu3, 351.7450000,350.7470000,1.0); //felnyitjuk
        gateopen = true;
      }
      return 1;
    }
  }
  if(gateopen == true)
  {
    MoveObject(pdkapu3, 0,351.7450000,350.7470000,1.0); //felnyitjuk
    gateopen = false;
  }
public GateCheck4(playerid)
{
  for(new i; i < MAX_PLAYERS; i++)
  {
    if(IsPlayerInRangeOfPoint(i,5.0,1782.9000200,684.5000000,16.0000000))
    {
      if(gateopen == false)
      {
        MoveObject(pdkapu4, 356.7500000,350.5000000,1.0); //felnyitjuk
        gateopen = true;
      }
      return 1;
    }
  }
  if(gateopen == true)
  {
    MoveObject(pdkapu4, 0,356.7500000,350.5000000,1.0); //felnyitjuk
    gateopen = false;
  }
public GateCheck5(playerid)
{
  for(new i; i < MAX_PLAYERS; i++)
  {
    if(IsPlayerInRangeOfPoint(i,5.0,2238.1999500,2450.3000500,10.6000000))
    {
      if(gateopen == false)
      {
        MoveObject(pdkapu5, 357.4900000,349.2440000,1.0); //felnyitjuk
        gateopen = true;
      }
      return 1;
    }
  }
  if(gateopen == true)
  {
    MoveObject(pdkapu5, 0,357.4900000,349.2440000,1.0); //felnyitjuk
    gateopen = false;
  }
public GateCheck6(playerid)
{
  for(new i; i < MAX_PLAYERS; i++)
  {
    if(IsPlayerInRangeOfPoint(i,5.0,2238.1999500,2450.3000500,10.6000000))
    {
      if(gateopen == false)
      {
        MoveObject(pdkapu6, 350.7500000,270.0000000,1.0); //felnyitjuk
        gateopen = true;
      }
      return 1;
    }
  }
  if(gateopen == true)
  {
    MoveObject(pdkapu6, 0,350.7500000,270.0000000,1.0); //felnyitjuk
    gateopen = false;
  }
public GateCheck7(playerid)
{
  for(new i; i < MAX_PLAYERS; i++)
  {
    if(IsPlayerInRangeOfPoint(i,5.0,-1572.1999500,658.7000100,7.0000000))
    {
      if(gateopen == false)
      {
        MoveObject(pdkapu7, 6.5000000,90.0000000,1.0); //felnyitjuk
        gateopen = true;
      }
      return 1;
    }
  }
  if(gateopen == true)
  {
    MoveObject(pdkapu7, 0,6.5000000,90.0000000,1.0); //felnyitjuk
    gateopen = false;
  }
public GateCheck8(playerid)
{
  for(new i; i < MAX_PLAYERS; i++)
  {
    if(IsPlayerInRangeOfPoint(i,5.0,,-1701.4000200,687.7000100,24.5000000))
    {
      if(gateopen == false)
      {
        MoveObject(pdkapu8, 7.2480000,269.0000000,1.0); //felnyitjuk
        gateopen = true;
      }
      return 1;
    }
  }
  if(gateopen == true)
  {
    MoveObject(pdkapu8, 0,7.2480000,269.0000000,1.0); //felnyitjuk
    gateopen = false;
  }
public GateCheck9(playerid)
{
  for(new i; i < MAX_PLAYERS; i++)
  {
    if(IsPlayerInRangeOfPoint(i,5.0,1544.6999500,-1630.6999500,13.1000000))
    {
      if(gateopen == false)
      {
        MoveObject(pdkapu9, 0.0000000,270.0000000,1.0); //felnyitjuk
        gateopen = true;
      }
      return 1;
    }
  }
  if(gateopen == true)
  {
    MoveObject(pdkapu9, 0,0.0000000,270.0000000,1.0); //felnyitjuk
    gateopen = false;
  }
public GateCheck10(playerid)
{
  for(new i; i < MAX_PLAYERS; i++)
  {
    if(IsPlayerInRangeOfPoint(i,5.0,-2673.5000000,1268.5000000,55.2000000))
    {
      if(gateopen == false)
      {
        MoveObject(pdkapu10, 352.5000000,0.0000000,1.0); //felnyitjuk
        gateopen = true;
      }
      return 1;
    }
  }
  if(gateopen == true)
  {
    MoveObject(pdkapu10, 0,352.5000000,0.0000000,1.0); //felnyitjuk
    gateopen = false;
  }
public GateCheck11(playerid)
{
  for(new i; i < MAX_PLAYERS; i++)
  {
    if(IsPlayerInRangeOfPoint(i,5.0,-2664.1999500,1268.6999500,55.3000000))
    {
      if(gateopen == false)
      {
        MoveObject(pdkapu11, 348.4970000,0.0000000,1.0); //felnyitjuk
        gateopen = true;
      }
      return 1;
    }
  }
  if(gateopen == true)
  {
    MoveObject(pdkapu11, 0,348.4970000,0.0000000,1.0); //felnyitjuk
    gateopen = false;
  }
public GateCheck12(playerid)
{
  for(new i; i < MAX_PLAYERS; i++)
  {
    if(IsPlayerInRangeOfPoint(i,5.0,-2682.8000500,1281.0000000,55.7000000))
    {
      if(gateopen == false)
      {
        MoveObject(pdkapu12, 349.7500000,0.0000000,1.0); //felnyitjuk
        gateopen = true;
      }
      return 1;
    }
  }
  if(gateopen == true)
  {
    MoveObject(pdkapu12, 0,349.7500000,0.0000000,1.0); //felnyitjuk
    gateopen = false;
  }
public GateCheck13(playerid)
{
  for(new i; i < MAX_PLAYERS; i++)
  {
    if(IsPlayerInRangeOfPoint(i,5.0,-2691.3999000,1280.5999800,55.5000000))
    {
      if(gateopen == false)
      {
        MoveObject(pdkapu13, 353.2490000,0.7470000,1.0); //felnyitjuk
        gateopen = true;
      }
      return 1;
    }
  }
  if(gateopen == true)
  {
    MoveObject(pdkapu13, 0,353.2490000,0.7470000,1.0); //felnyitjuk
    gateopen = false;
  }
public GateCheck14(playerid)
{
  for(new i; i < MAX_PLAYERS; i++)
  {
    if(IsPlayerInRangeOfPoint(i,5.0,1789.4000200,670.4000200,16.8000000))
    {
      if(gateopen == false)
      {
        MoveObject(pdkapu14, 356.4800000,349.4890000,1.0); //felnyitjuk
        gateopen = true;
      }
      return 1;
    }
  }
  if(gateopen == true)
  {
    MoveObject(pdkapu14, 0,356.4800000,349.4890000,1.0); //felnyitjuk
    gateopen = false;
  }
  return 1;
}   //nyit

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal