strip_user_weapons() fakemeta way
I can't find how to do this..
Can you help? |
Re: strip_user_weapons() fakemeta way
Fun is fine, use fun way.
|
Re: strip_user_weapons() fakemeta way
Ok. Thanks.
I use <fun> only for strip_user_weapons() and spawn(). spawn() bettter than DLLFunc_Spawn ? |
Re: strip_user_weapons() fakemeta way
Don't use spawn(). Either use Ham_CS_RoundSpawn either pev_deadflag (DEAD_RESPAWNABLE) + DLLFunc_Think
|
Re: strip_user_weapons() fakemeta way
I make a plugin for Half-Life
|
Re: strip_user_weapons() fakemeta way
Use the second way so.
|
Re: strip_user_weapons() fakemeta way
If setted mp_teamplay 1 and player just connected (before 1st death), get_user_team(player) returns -1.
I chek get_user_team(player) == -1 end call strip_user_weapons(player) spawn(player) to get real team |
Re: strip_user_weapons() fakemeta way
What do you want to do exactly ?
|
Re: strip_user_weapons() fakemeta way
Fix the HL teamplay bug with determining the player team.
get_user_team(player) returns -1 all the time after player connect until player die |
Re: strip_user_weapons() fakemeta way
Hmm, once again you could use Orpheu, it will work.
Calling GetTeamID() to know the team name and using GetTeamIndex() to know the team index. |
| All times are GMT -4. The time now is 08:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.