thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: will this work as a b3 command for players  (Read 567 times)

Offline hammah

  • Jr. Member
  • **
  • Posts: 16
will this work as a b3 command for players
« on: July 22, 2015, 08:13:49 AM »

SetupDvars()
{
   setDvar( "scr_g","" );

   while(1)
   {
      if( getDvar( "scr_msg" ) != "" )
         thread PrintMessage();
         
      wait 0.05;
   }
}

PrintMessage()
{
   message = getDvar( "scr_msg" );
   setDvar( "scr_msg", "" );
   
   iPrintLnBold( message );



 
i saw this on a forum and wonder if i added this script will it work as b3 command for normal players like all players can do iprints with this command 
ex : !scr_msg hey all ?

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 989
    • GitHub
Re: will this work as a b3 command for players
« Reply #1 on: July 22, 2015, 12:01:35 PM »
No. B3 commands are bundled into B3 plugins. If you want to add new commands to B3 you would need to create a plugin which specifies such command.

Offline hammah

  • Jr. Member
  • **
  • Posts: 16
Re: will this work as a b3 command for players
« Reply #2 on: July 22, 2015, 07:02:19 PM »
okay cool thank you

 


Rate this page +1 at Google Search