plzzz izlasat.....

Ja kas neizprotams.

Moderator: Moderatori

Post Reply
nike_nike
Jauniņais
Jauniņais
Posts: 15
Joined: 08 Nov 2009, 21:17

plzzz izlasat.....

Post by nike_nike »

nu sveiki atkal man kartejais jautajums :D
es ustaiju bazi un visu saliku ka ir licis olega bunkurs visa vinas kordinatas parmainiju pret savam bet man radas erros sadi istas man ustaisitais skripts...

Code: Select all

#include 
#include 
#include 

new baze;
new mainigais1;


//Color Defines

#define COLOR_BLUE 0x0000FFAA
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_PURPLE 0x9900FFAA
#define COLOR_BROWN 0x993300AA
#define COLOR_ORANGE 0xFF9933AA
#define COLOR_CYAN 0x99FFFFAA
#define COLOR_TAN 0xFFFFCCAA
#define COLOR_PINK 0xFF66FFAA
#define COLOR_KHAKI 0x999900AA
#define COLOR_LIME 0x99FF00AA
#define COLOR_BLACK 0x000000AA
#define COLOR_TURQ 0x00A3C0AA

// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#define FILTERSCRIPT

public OnFilterScriptInit()
{
   baze=CreateObject(972, 1968.370239, -2515.354004, 12.565638, 0.0000, 0.0000, 90.0000);


        //bunkurs
CreateObject(3816, 1966.262817, -2540.134033, 21.092194, 0.0000, 0.0000, 180.0000);
CreateObject(974, 1974.279053, -2511.820801, 22.494324, 0.0000, 0.0000, 0.0000);
CreateObject(974, 1968.066162, -2511.820801, 22.371174, 0.0000, 0.0000, 0.0000);
CreateObject(974, 1961.652222, -2511.820801, 22.433159, 0.0000, 0.0000, 0.0000);
CreateObject(974, 1955.338745, -2511.820801, 22.211433, 0.0000, 0.0000, 0.0000);
   return 1;
}

public OnFilterScriptExit()
{
        return 1;
}
//------------------------------------------------------------------------------

public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/baze", cmdtext, true, 5) == 0)
   {
      if(mainigais3 == 0){
      MoveObject(baze, (972, 1968.370239, -2515.354004, 12.565638, 3); //vala
      mainigais3 = 1;
      } else if(mainigais3 == 1) {
      MoveObject(baze, (972, 1968.370239, -2515.354004, 12.565638, 3); //ciet
      mainigais3 = 0;
    }
      return 1;
}
return 0;
}

un sitie ie errori
D:\downlaods\server\filterscripts\baze.pwn(40) : warning 217: loose indentation
D:\downlaods\server\filterscripts\baze.pwn(45) : warning 217: loose indentation
D:\downlaods\server\filterscripts\baze.pwn(58) : error 017: undefined symbol "mainigais3"
D:\downlaods\server\filterscripts\baze.pwn(59) : error 001: expected token: ",", but found ";"
D:\downlaods\server\filterscripts\baze.pwn(60) : error 017: undefined symbol "mainigais3"
D:\downlaods\server\filterscripts\baze.pwn(60) : warning 215: expression has no effect
D:\downlaods\server\filterscripts\baze.pwn(61) : error 017: undefined symbol "mainigais3"
D:\downlaods\server\filterscripts\baze.pwn(62) : error 001: expected token: ",", but found ";"
D:\downlaods\server\filterscripts\baze.pwn(63) : error 017: undefined symbol "mainigais3"
D:\downlaods\server\filterscripts\baze.pwn(63) : warning 215: expression has no effect
D:\downlaods\server\filterscripts\baze.pwn(69) : warning 203: symbol is never used: "mainigais1"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.
plzz ja varetu ludzu izlabojiet kludas ja man tur tadas ir jo es neko nevaru ieraudzit kadas kludas man ir un velreiz tnx..
Post Reply