A question that is killing me =/
I came here to know how woul be a code for the following situation:
"when someone kills a person, the killer gets glowing some color" I think its not hard.. but I DONT KNOW, lol... I think it is something like this: public glowingkiller(id,killer) { get_user_authid(killer) set_user_rendering(id,kRenderFxGlowShell,255, 0,0,kRenderNormal,16) return PLUGIN_HANDLED } I dont know... please, I am waiting some help.. I truly need this... :cry: |
If it helps to know.. I am doing it for The specialists mod...
ahhh... and in same situation... How could I make different glowings depending on the victims... something that determines one victim different of another, and killing them will make you glow in different colors.. and you may ask: "what kind of differences does the victms has?" Well.. In the begginig of the script there is this: Code:
new difference[33]If you guys solve this "problem" for me, it will help me a looooot... thx.. =) |
Quote:
The specialists mod has a totally different death event which, unfortunatly, I'm not familliar with :( |
Code:
|
Quote:
|
In TFC:
Code:
|
Team Fortress Classic?
Quote:
|
Quote:
|
The Specialists uses the DeathMsg event for death just like other mods. however, in my experience, TS resets a user's rendering properties every PreThink or so, so if you want to keep a user updated you have to reset it every PostThink. ie:
Code:
the client_PostThink forward is from the engine module. |
Thankyou guys =D
and the second situation? when it depends on a victim value? Thx a lot, you guys are very nice.. in another forum I got no reply... (and sorry english mistakes, I am brazilian, not fully integrated with wnglish.. lol) |
| All times are GMT -4. The time now is 20:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.