Raised This Month: $ Target: $400
 0% 

Change model but not team in The Specialists Teamplay.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
stupok
Veteran Member
Join Date: Feb 2006
Old 12-18-2006 , 20:43   Change model but not team in The Specialists Teamplay.
Reply With Quote #1

I figured I'd start a new topic for this, since I have a specific goal in mind for a specific mod. I want to change the player's model in The Specialists Teamplay without changing their team.

Quote:
Originally Posted by XxAvalanchexX View Post
Code:
 #include <amxmodx>  #include <fakemeta>  public plugin_init()  {     register_forward(FM_PlayerPostThink,"fw_think");  }  public fw_think(id)  {     new info = engfunc(EngFunc_GetInfoKeyBuffer,id);     engfunc(EngFunc_SetClientKeyValue,id,info,"model","aswat");     return FMRES_IGNORED;  }
So I tested this code on a server with The Specialists Teamplay, and its nuts. The hud doesn't display, the 3, 2, 1 numbers before spawn appear randomly after spawn, the models aren't set to the model specified in the code, and you can only kill teammates. Oh, and you can't view your own model from third-person view. It's nuts.

So XxAvalanchexX, as I hope you're reading this, could you help me out with this? I'd love to come up with a method myself, but I don't know where to begin. I'd really appreciate some advice.

There are some events that might be useful:
Code:
Game registered user msgs:    msgid   size
TeamInfo                     84     -1
TeamScore                    85     -1
I just don't have the time right now to play around with it and I'm convinced there are methods I am completely unaware of.

Thanks for your time.
stupok 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:24.


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