Raised This Month: $ Target: $400
 0% 

disable choosing of model.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 01-09-2007 , 19:43   Re: disable choosing of model.
Reply With Quote #5

Code:
public client_infochanged(id) {      new model[32];      get_user_info(id,model,31);      if(equali(model,"sinvan"))           engclient_cmd(id,"model","gordon"); }

You might have to use regular client_cmd instead of engclient_cmd. Also, if they bind a key to "model sinvan" and mash it repeatedly their model won't always change back fast enough, so you might want to add a flood control, where if they press it X many times in Y seconds it kicks them.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX 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 22:20.


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