Raised This Month: $51 Target: $400
 12% 

How to add commands ? :D


Post New Thread Reply   
 
Thread Tools Display Modes
cofisx
Junior Member
Join Date: Oct 2012
Old 10-25-2012 , 06:00   Re: How to add commands ? :D
Reply With Quote #21

here https://forums.alliedmods.net/showthread.php?p=566356
cofisx is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 10-25-2012 , 06:17   Re: How to add commands ? :D
Reply With Quote #22

hemm.. that was a good 1. Best thing is just edit that plugin and have it your own menu there otherwise contact the author and request from him instead.

Integrating plugin into this 1 gonna take a long walk since there is 3 mode of war there.
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.
GsiX is offline
cofisx
Junior Member
Join Date: Oct 2012
Old 10-25-2012 , 06:46   Re: How to add commands ? :D
Reply With Quote #23

I gona make that plugin by myself, i can took long long time but i will do it !
cofisx is offline
cofisx
Junior Member
Join Date: Oct 2012
Old 10-25-2012 , 06:54   Re: How to add commands ? :D
Reply With Quote #24

Maybe its option like SendToConsole ? or somethink like that ?
cofisx is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 10-25-2012 , 07:05   Re: How to add commands ? :D
Reply With Quote #25

I still don't get it why you're not only adding it to the admin menu... like this:
PHP Code:
// Custom admin menu commands.
// For more information:
//
// http://wiki.alliedmods.net/Custom_Admin_Menu_%28SourceMod%29
//
// Note: This file must be in Valve KeyValues format (no multiline comments)
//

"Commands"
{
   
"MixCommands"
   
{
      
"Restart"
      
{
         
"cmd"    "sm_rr"
         
execute  "server"
      
}
      
"Live"
      
{
         
"cmd"    "war_live"
         
execute  "server"
      
}
      
"War Reset"
      
{
         
"cmd"    "war_reset"
         
execute  "server"
      
}
      
"Spectate all"
      
{
         
"cmd"    "sm_spec @all"
         
execute  "server"
      
}
   }

__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de
Sillium is offline
cofisx
Junior Member
Join Date: Oct 2012
Old 10-25-2012 , 07:28   Re: How to add commands ? :D
Reply With Quote #26

Becose i dont need admin menu.......
cofisx is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 10-25-2012 , 08:49   Re: How to add commands ? :D
Reply With Quote #27

Try this: http://docs.sourcemod.net/api/index....d=show&id=454&
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de
Sillium is offline
cofisx
Junior Member
Join Date: Oct 2012
Old 10-25-2012 , 09:42   Re: How to add commands ? :D
Reply With Quote #28

so it has look like
Quote:
native ServerCommand(const String:format[sm_rr], any:...);
or how ?
cofisx is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 10-25-2012 , 09:50   Re: How to add commands ? :D
Reply With Quote #29

Depending on the option that was choosen.
e.g.
PHP Code:
ServerCommand("sm_rr"); 
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de

Last edited by Sillium; 10-25-2012 at 09:50.
Sillium is offline
FaTony
Veteran Member
Join Date: Aug 2008
Old 10-25-2012 , 09:57   Re: How to add commands ? :D
Reply With Quote #30

Sigh. http://wiki.alliedmods.net/Introduction_to_SourcePawn
__________________
FaTony is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode