Raised This Month: $ Target: $400
 0% 

Few simple questions....


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
burcyril10
Junior Member
Join Date: Feb 2005
Old 03-18-2005 , 01:43   Few simple questions....
Reply With Quote #1

I'm am REALLY new to scripting, i'll try to learn as fast as i can.
I'm running mod TS and I want to make a weapon restriction pluging, its easier then you would think. All you have to do normaly is type "weaponrestriction x" in the server console. Ive written everything, but how to I get amxx to acualy 'type' that into the console?

Also, when an admin DOES type it in I want a pretty little message (equivalent to "say @rPistols Only") any1 know how?

I'll be back with more questions later ;)
burcyril10 is offline
burcyril10
Junior Member
Join Date: Feb 2005
Old 03-18-2005 , 01:44  
Reply With Quote #2

Ah, set_cvar_num? For my first request?
burcyril10 is offline
burcyril10
Junior Member
Join Date: Feb 2005
Old 03-18-2005 , 01:47  
Reply With Quote #3

COOL, I found the function reference in the Docs....Well it always happens that you find it STRAIGHT after asking the question...

would show_hudmessage be good for my second request (with set_hudmessage first)?
burcyril10 is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 03-18-2005 , 13:44  
Reply With Quote #4

Yes, set_hudmessage and show_hudmessage is what you will want.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX 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 21:12.


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