Jump to content
  • 0

Help NonplayerCaracter (NPC)


Sfinx_17

Question

Salutare

Am si eu o intrebare in legatura cu NPC.

1: am facut scriptul ptr primul meu bot care se afla in NPCmode

2: mi-am facut o functie publica care e public "NPC:StartRecordingPlayback(playbacktype, recordname[])"

aceasta functie ajuta sa mearga inregistrarea salvata in NPCmodes/recordings ok si mi-am mai facut inca o functie in Gamemode care lam bagat la OnGameModeinit callback si se numeste....

ConnectNPC("Skynet 1","Scriptulmeuptrnpc"); problema mea este..dc cand intru in joc nu imi apare botul?

va rog.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
  • Similar Content

    • By AndreiSAMP2
      fatal error 111: user error: Did you do <YSI/y_hooks> instead of the required <YSI\y_hooks>?
    • By AlexCelTare
      stie cineva vreun fs sau cum sa fac sa nu se mai reseteze banii la playeri cand dau relog? va rog
    • By R4zvyy
      Ma poate ajuta cineva cum pot baga mapping in include? am facut asta
       dupaia asta 
      Si imi da eroarea  asta 
       
      ../gamemodes/systems/mapping.inc(1) : error 021: symbol already defined: "LoadMaps"
      ../gamemodes/systems/mapping.inc(27) : error 010: invalid function or declaration
      Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase

      2 Errors.

      Ma poate ajuta cineva va rog?
    • By Rby Robert
      Salut incerc sa conectez un panel la gm dar imi da o eroare....
      [24-Aug-2021 17:25:46 Europe/Bucharest] PHP Parse error:  syntax error, unexpected 'else' (T_ELSE), expecting end of file in /home/dtyroman/public_html/panel/inc/header.inc.php on line 7
      Nu stiu ce sa ii fac am incercat toate modele 
      daca sterg asta din panel/inc/header.inc.php
      else {
          if(Config::isAdmin(Config::getUser())) {
              $get = Config::$g_con->prepare('SELECT `ID` FROM `panel_tickets` WHERE `Status` = 0'); $get-
      >execute();
              $tickets = $get->rowCount();
              
              $get = Config::$g_con->prepare('SELECT `ID` FROM `panel_unban` WHERE `Status` = 0'); $get->execute
      ();
              $unban = $get->rowCount();
              
              $get = Config::$g_con->prepare('SELECT `ID` FROM `panel_complaints` WHERE `Status` = 0'); $get-
      >execute();
              $complaints = $get->rowCount();
          } else {
              $get = Config::$g_con->prepare('SELECT `ID` FROM `panel_tickets` WHERE `Status` = 0 AND `UserID` =
      ?'); $get->execute(array(Config::getUser()));
              $tickets = $get->rowCount();
              
              $get = Config::$g_con->prepare('SELECT `ID` FROM `panel_unban` WHERE `Status` = 0 AND `UserID` =
      ?'); $get->execute(array(Config::getUser()));
              $unban = $get->rowCount();
              
              $get = Config::$g_con->prepare('SELECT `ID` FROM `panel_complaints` WHERE `Status` = 0 AND `UserID`
      = ? OR `Status` = 0 AND `AccusedID` = ?'); $get->execute(array(Config::getUser(),Config::getUser()));
              $complaints = $get->rowCount();
          }
      }
      Merge dar nu pot sa ma loghez adica imi da pagina alba
       
    • By Quang Minh
      Is there any way to prevent cleo wallhack and nametag?
      I tried hiding my name but it didn't work
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.