lockLocked

[ECILA] Cereri plugin Boti Spec [ Rezolvat ]

person Aspy. -
schedule Sep 13, 2017
forum 11
visibility 104
Sep 13, 2017 at 7:13 PM
Original Post
#1
Member
  • Nick:s3L3nZoR

  • Nume Plugin:boti spec

  • Descriere:vreau un plugin care arata 3 boti la spec 

  • si vreau sa scrie asa

  • IP : 89.34.25.150

    DNS : ANORMALII.ECILA.RO

    SKYPE : s3L3nZoR @ ECILA.Ro

  • si m-ai vreau un plugin de boti care pot sa i adaug sa joace

  • 2 la TS si 2 la CT 

  • MULTUMESC !

Sep 14, 2017 at 3:10 PM
#2
Member

Poftim: http://www.girlshare.ro/32086413.7

Instalare:

1. Fișierul create_fake_player.sma îl puneți în addons/amxmodx/scripting

2. Fișierul create_fake_player.amxx îl puneți în addons/amxmodx/plugins

3. Intrați în fișierul addons/amxmodx/configs/plugins.ini și adăugați la urmă: create_fake_player.amxx

 

Comenzi administrative

amx_addfake "nume" - adaugi un jucator fals. 

amx_removefake "nume" - elimini un jucator fals.

amx_removeallfake - sterge toti jucatori falsi.

 

Lasă reply dacă ești mulțumit.

Sep 14, 2017 at 3:22 PM
#3
Member

n-am nici un sma si amxx

am doar  folder-ul acesta (RECLAMA si are urmatoarele fisiere :)

images

Important !.txt

index.php

templatemo_style.css

Sep 14, 2017 at 11:20 PM
#4
Member

Boți SPEC - 

 

Spoiler

#include < amxmodx >

#include <cstrike> 

#include < fakemeta >

 

#define BotsNum 3

 

new const BotNames [ BotsNum ][ ] =

{

   "BHOP.ECILA.RO - 93.119.26.85:27015",

   "SKYPE : th3_darkness",

   "SITE : www.ECILA.ro"

}

 

new g_pEnable;

new g_pMaxPlayers;

 

new BotsCreated = 0;

 

public plugin_init ( )

{

   g_pEnable = register_cvar ( "bw_enable" , "1" );

   g_pMaxPlayers = register_cvar ( "bw_maxplayers" , "21" );

 

   if ( get_pcvar_num ( g_pEnable ) )

   {

      //BotsCreated = 0;

      for ( new i = 0; i < BotsNum; i++ )

      {

         CreateBot ( BotNames );


      }


      //set_task(60.0,"UPDATE_BOT", _, _, _, "b", 0)


   }


}


 


public UPDATE_BOT()


{


      BotsCreated = 0;


      server_cmd ( "kick ^"%s^"" ,  BotNames [ BotsCreated ] );


      for ( new i = 0; i < BotsNum; i++ )


      {


         CreateBot ( BotNames );


      }


}


 


public client_connect( id )


{


   if ( is_user_bot( id ) )  return 0;


 


   if ( get_playersnum ( ) >= get_pcvar_num ( g_pMaxPlayers ) )


   {


      BotsCreated=0//--;


      server_cmd ( "kick ^"%s^"" ,  BotNames [ BotsCreated ] );


   }


   return 1;


}


 


public client_disconnect ( id )


{


   if ( is_user_bot ( id ) ) return 0;


 


   if ( get_playersnum ( ) < get_pcvar_num ( g_pMaxPlayers ) && BotsCreated < BotsNum )


   {


      CreateBot ( BotNames [ BotsCreated ] );


   }


   return 1;


}


 


public CreateBot ( const BotName [ ] )


{


   new FAKE_NAME[32]


   format( FAKE_NAME, 31, "%s", BotNames [ BotsCreated ] );


   new id = engfunc ( EngFunc_CreateFakeClient , FAKE_NAME );


   //engfunc ( EngFunc_FreeEntPrivateData , id );


   //set_pev(id,pev_spawnflags,pev(id,pev_spawnflags)|FL_FAKECLIENT);


   //set_pev ( id , pev_flags , pev ( id , pev_flags ) | FL_FAKECLIENT );


 


   //new szMsg [ 128 ];


   //dllfunc ( DLLFunc_ClientConnect , id , FAKE_NAME , "127.0.0.1" , szMsg );


   //dllfunc ( DLLFunc_ClientPutInServer , id );


   dllfunc(DLLFunc_ClientConnect,id)


   dllfunc(DLLFunc_ClientPutInServer,id)


   cs_set_user_team(id, CS_TEAM_SPECTATOR); 


 


   BotsCreated++;


}


Sep 15, 2017 at 11:25 AM
#5
Member
Spoiler

#include < amxmodx >

#include <cstrike> 

#include < fakemeta >

 

#define BotsNum 3

 

new const BotNames [ BotsNum ][ ] =

{

IP : 89.34.25.150

DNS : ANORMALII.ECILA.RO

FORUM : www.ECILA.ro/forum

}

 

new g_pEnable;

new g_pMaxPlayers;

 

new BotsCreated = 0;

 

public plugin_init ( )

{

   g_pEnable = register_cvar ( "bw_enable" , "1" );

   g_pMaxPlayers = register_cvar ( "bw_maxplayers" , "21" );

 

   if ( get_pcvar_num ( g_pEnable ) )

   {

      //BotsCreated = 0;

      for ( new i = 0; i < BotsNum; i++ )

      {

         CreateBot ( BotNames );


      }


      //set_task(60.0,"UPDATE_BOT", _, _, _, "b", 0)


   }


}


 


public UPDATE_BOT()


{


      BotsCreated = 0;


      server_cmd ( "kick ^"%s^"" ,  BotNames [ BotsCreated ] );


      for ( new i = 0; i < BotsNum; i++ )


      {


         CreateBot ( BotNames );


      }


}


 


public client_connect( id )


{


   if ( is_user_bot( id ) )  return 0;


 


   if ( get_playersnum ( ) >= get_pcvar_num ( g_pMaxPlayers ) )


   {


      BotsCreated=0//--;


      server_cmd ( "kick ^"%s^"" ,  BotNames [ BotsCreated ] );


   }


   return 1;


}


 


public client_disconnect ( id )


{


   if ( is_user_bot ( id ) ) return 0;


 


   if ( get_playersnum ( ) < get_pcvar_num ( g_pMaxPlayers ) && BotsCreated < BotsNum )


   {


      CreateBot ( BotNames [ BotsCreated ] );


   }


   return 1;


}


 


public CreateBot ( const BotName [ ] )


{


   new FAKE_NAME[32]


   format( FAKE_NAME, 31, "%s", BotNames [ BotsCreated ] );


   new id = engfunc ( EngFunc_CreateFakeClient , FAKE_NAME );


   //engfunc ( EngFunc_FreeEntPrivateData , id );


   //set_pev(id,pev_spawnflags,pev(id,pev_spawnflags)|FL_FAKECLIENT);


   //set_pev ( id , pev_flags , pev ( id , pev_flags ) | FL_FAKECLIENT );


 


   //new szMsg [ 128 ];


   //dllfunc ( DLLFunc_ClientConnect , id , FAKE_NAME , "127.0.0.1" , szMsg );


   //dllfunc ( DLLFunc_ClientPutInServer , id );


   dllfunc(DLLFunc_ClientConnect,id)


   dllfunc(DLLFunc_ClientPutInServer,id)


   cs_set_user_team(id, CS_TEAM_SPECTATOR); 


 


   BotsCreated++;


}

 

 

nu merge sa il compilez

compileaza tu cum e acolo

Sep 15, 2017 at 11:56 AM
#6
Member

Daca vrei te ajut doar cu spec ca sa joace nu stiu ! 

Sep 15, 2017 at 12:11 PM
#7
Member

vreau cu spec dar sa fie asa 

IP : 89.34.25.150

DNS : ANORMALII.ECILA.RO

FORUM : www.ECILA.ro/forum

Sep 15, 2017 at 12:44 PM
#8
Member

 

BotNames.txt-> in configs download: http://www55.zippyshare.com/v/7Q9Aj0u2/file.html

fakefull_original.amxx -> plugins download : http://www55.zippyshare.com/v/nv9BHYBN/file.html

fakefull_original.sma -> scripting download : http://www55.zippyshare.com/v/NaNlzNUu/file.html

Scrii in server.cfg add_fake 3

Adaugi in plugins.ini  urmatoare linie : 

 

fakefull_original.amxx 

 

Sper ca te-am ajutat o zi buna ! 

Sep 15, 2017 at 1:07 PM
#9
Member

 

 

BotNames.txt-> in configs download: http://www55.zippyshare.com/v/7Q9Aj0u2/file.html

fakefull_original.amxx -> plugins download : http://www55.zippyshare.com/v/nv9BHYBN/file.html

fakefull_original.sma -> scripting download : http://www55.zippyshare.com/v/NaNlzNUu/file.html

Scrii in server.cfg add_fake 3

Adaugi in plugins.ini  urmatoare linie : 

 

fakefull_original.amxx 

 

Sper ca te-am ajutat o zi buna ! 

 

Daca are ce am cerut eu, este bine 

Sep 15, 2017 at 1:23 PM
#10
Member

 

 

 

BotNames.txt-> in configs download: http://www55.zippyshare.com/v/7Q9Aj0u2/file.html

fakefull_original.amxx -> plugins download : http://www55.zippyshare.com/v/nv9BHYBN/file.html

fakefull_original.sma -> scripting download : http://www55.zippyshare.com/v/NaNlzNUu/file.html

Scrii in server.cfg add_fake 3

Adaugi in plugins.ini  urmatoare linie : 

 

fakefull_original.amxx 

 

Sper ca te-am ajutat o zi buna ! 

 

Daca are ce am cerut eu, este bine 

 

Este sa dea cineva t/c salut ! 

Join the Discussion

You need to be logged in to post a reply.

loginLogin to Reply