Raised This Month: $ Target: $400
 0% 

How to 'aim' a SeverCommand from a func_button?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Werewolf_UK
AlliedModders Donor
Join Date: Oct 2010
Location: United Kingdom
Old 04-15-2011 , 17:31   How to 'aim' a SeverCommand from a func_button?
Reply With Quote #1

Hi

I am currently building an achievement map to replace an older version on a server I admin on. Because we get a lot of non-English players who join and don't understand our server rules, I am making a translation room.

The idea I have is to have various flags on the walls of a room set so that when a player presses, touches or uses that flag, a message is sent to them via the a server command. However I don't want this message to get spammed to everyone, only the player who triggered it, but I don't know to do this.

Does anyone know I could set this so that it only sends the message to the players I want? If it helps, the server command I am using at the moment is (english version) sm_pmsay @aim "This is an English Server, please speak English here."

Would it possible and if so how, to set this command to a func_button with a server command output but change the @aim so that it targets the player who pressed the button?
__________________
Werewolf_UK is offline
Reply


Thread Tools
Display Modes

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 19:51.


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