Peršokti į turinį
lopas123456789

padekit +rep

Recommended Posts

kas moka istaisiti tuos erorus kuru nps_bota

#define RECORDING "Botas" //Jûsø failo pavadinimas.
   #define RECORDING_TYPE 1 //1 reiðkia, kad veiksmas vyko transporte, o 2 reiðkia, kad veiksmas buvo ant kojø.

   #include 
   main(){}
   public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);

   #if RECORDING_TYPE == 1
       public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING);
       public OnNPCExitVehicle() StopRecordingPlayback();
   #else
       public OnNPCSpawn() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
   #endif
   ConnectNPC("Martin_M","TaksiVairuotojas");
   public OnFilterScriptInit()
   {
       print("NPC botas FilterScript'e prijungtas");
       ConnectNPC("Martin_M","TaksiVairuotojas");
       return 1;
   }
   new TaksiMasina;
   public OnFilterScriptInit()
   {
       print("NPC botas FilterScript'e prijungtas");
       ConnectNPC("Martin_M","TaksiVairuotojas");
       MyFirstNPCVehicle = CreateVehicle(420, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000);
       return 1;
   }
   public OnPlayerSpawn(playerid)
   {
       if(IsPlayerNPC(playerid)) //Tikrina, ar þaidëjas paleistas kaip NPC botas.
       {
           new npcname[MAX_PLAYER_NAME];
           GetPlayerName(playerid, npcname, sizeof(npcname)); //Gauna NPC boto vardà.
           if(!strcmp(npcname, "Martin_M", true)) //Tikrina, ar NPC boto vardas Martin_M
           {
               PutPlayerInVehicle(playerid, TaksiMasina, 0); //Pasodina NPC botà á jam sukurtà transportà.
           }
           return 1;
       }
       //Visa kita paprastam þaidëjui.
       return 1;
   }

C:\Documents and Settings\Administrator\Desktop\Botas.pwn(14) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\Desktop\Botas.pwn(15) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit")
C:\Documents and Settings\Administrator\Desktop\Botas.pwn(18) : error 004: function "ConnectNPC" is not implemented
C:\Documents and Settings\Administrator\Desktop\Botas.pwn(22) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit")
C:\Documents and Settings\Administrator\Desktop\Botas.pwn(23) : error 021: symbol already defined: "OnFilterScriptInit"
C:\Documents and Settings\Administrator\Desktop\Botas.pwn(25) : error 004: function "ConnectNPC" is not implemented
C:\Documents and Settings\Administrator\Desktop\Botas.pwn(26) : error 017: undefined symbol "MyFirstNPCVehicle"
C:\Documents and Settings\Administrator\Desktop\Botas.pwn(26) : error 017: undefined symbol "CreateVehicle"
C:\Documents and Settings\Administrator\Desktop\Botas.pwn(29) : warning 235: public function lacks forward declaration (symbol "OnPlayerSpawn")
C:\Documents and Settings\Administrator\Desktop\Botas.pwn(31) : error 017: undefined symbol "IsPlayerNPC"
C:\Documents and Settings\Administrator\Desktop\Botas.pwn(37) : error 017: undefined symbol "PutPlayerInVehicle"
C:\Documents and Settings\Administrator\Desktop\Botas.pwn(44) : warning 203: symbol is never used: "TaksiMasina"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


8 Errors.

Dalintis šį pranešimą


Nuoroda iki šio pranešimo
Dalintis per kitą puslapį

Komentuoti gali tik prisijungę nariai

Jeigu turite paskyrą, prisijunkite

Sukurti paskyrą

Sukurkite paskyrą mūsų forume

Registruotis

Prisijungti

Turite paskyrą? Prisijunkite

Prisijungti dabar

  • Narių peržiūri šį forumą:   0 nariai

    Nėra registruotų narių peržiūrinčių šį forumą.


  • SuperGames programele
  • SuperGames programele


×