Raised This Month: $ Target: $400
 0% 

access the funcommands


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bstyle
Member
Join Date: Nov 2009
Old 01-29-2010 , 06:08   access the funcommands
Reply With Quote #1

I'd like to use some of the funcommands as punishments in my plugin. How can i get access to them?
Which file do I have to include?
bstyle is offline
Fyren
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 01-29-2010 , 08:42   Re: access the funcommands
Reply With Quote #2

You either have to run them as console commands or reimplement them in your code.
Fyren is offline
bstyle
Member
Join Date: Nov 2009
Old 01-29-2010 , 09:18   Re: access the funcommands
Reply With Quote #3

Thats what i thougt. Thx for the information.
How can i implement a console command?

Last edited by bstyle; 01-29-2010 at 09:29.
bstyle is offline
=MaTi=
Member
Join Date: Jan 2008
Old 01-29-2010 , 18:37   Re: access the funcommands
Reply With Quote #4

This is what you need: http://docs.sourcemod.net/api/index....d=show&id=454&
=MaTi= is offline
miniman
Senior Member
Join Date: Aug 2009
Location: Israel
Old 01-30-2010 , 01:38   Re: access the funcommands
Reply With Quote #5

you can with another way
http://docs.sourcemod.net/api/index....d=show&id=143&
http://docs.sourcemod.net/api/index....oad=show&id=4&
http://docs.sourcemod.net/api/index....ad=show&id=12&
miniman is offline
bstyle
Member
Join Date: Nov 2009
Old 01-30-2010 , 05:53   Re: access the funcommands
Reply With Quote #6

Thx for the links. which would be the "clean" way to do this?

How can i disable the chat output when executing sm_drugs by using the ServerCommand(sm_drug ...); function?
It says something like this:

[SM] Console : trigger to Drug...

Last edited by bstyle; 01-30-2010 at 07:49.
bstyle 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 01:30.


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