Raised This Month: $ Target: $400
 0% 

server binds key for player


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
codydbgt
Member
Join Date: Apr 2009
Old 11-07-2010 , 17:31   server binds key for player
Reply With Quote #1

i some help i dont have any references (could post some for me) on the api on source mod and just want to make a plugin where when the player enters the game it will bind a key for them so they don't have to.

all i need to know is the on_event() wich event is the entered game event is it just on_enteredgame() or what.

when a player enters the game it will send a console command as if it were typed in for them. e.g bind v "build 2"
but if u could just post some references so learning is easier and or an example of what i want

EDIT 11/8/2010 : I'm not new to programing or c++ (not an expert ether) but I am new to the sourcemod API so could u give me some functions i can mess around with. i want to know if theres a way to detect when the player enters the game and then spawns for the first time. Also how do you know what player to send a client executing command to when someone types !bind into chat.

Last edited by codydbgt; 11-08-2010 at 20:52.
codydbgt is offline
 



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 06:33.


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