Re: game_team_master&game_team_set Fix (CS 1.6)
Released v0.2... Test this...
Arkshine - very thanks you. |
Re: game_team_master&game_team_set Fix (CS 1.6)
A major problem with your plugin is it doesn't care about the others things. The purpose is to provide a fix, it means your plugin must have all the functionalities of entities. The code should be the same as the HLSDK with what you add.
|
Re: game_team_master&game_team_set Fix (CS 1.6)
Quote:
Code:
void CGameTeamMaster::Use( CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value ) Code:
if ( !CanFireForActivator( pActivator ) ) Code:
if ( TeamMatch( pActivator ) ) Code:
if ( RemoveOnFire() ) |
Re: game_team_master&game_team_set Fix (CS 1.6)
Something like that :
PHP Code:
With orpheu, we could call directly the functions, maybe I will do it another day. |
Re: game_team_master&game_team_set Fix (CS 1.6)
Arkshine - very thanks. I tested it tomorrow and try to do with his idea about game_team_set. In orpheu you need intercept function
Quote:
|
Re: game_team_master&game_team_set Fix (CS 1.6)
I know it returns -1, why are you talking about that, we don't need this function anyway.
|
Re: game_team_master&game_team_set Fix (CS 1.6)
Arkshine - i now tested you code and it do not work (always not activate). something wrong ... right now, try to understand.
|
Re: game_team_master&game_team_set Fix (CS 1.6)
When i've said "Not much tested" ; I have still tested enough to post. Otherwise I would not have post a not-working plugin. So far I remember I've tested on both team, all etc.. with a game_player_equip entity and it was working perfectly for all cases.
|
Re: game_team_master&game_team_set Fix (CS 1.6)
Quote:
Code:
SUB_UseTargets( gameTeamMaster, activator, USE_TYPE:get_pdata_int( triggerType, 4 ), value ); Code:
SUB_UseTargets( gameTeamMaster, activator, USE_TYPE:get_pdata_int( gameTeamMaster, triggerType, 4 ), value ); And so - thank you very much. Still, you are mistaken in this... :wink: And Code:
if ( !CanFireForActivator( gameTeamSet, activator ) ) Code:
if ( !CanFireForActivator( gameTeamSet, activator ) ) |
Re: game_team_master&game_team_set Fix (CS 1.6)
Yes I've tested it faslty like i've said, but you're talking about about a thing there is some time ago and I don't remember well. Maybe I've tested only game_team_set but I remember well i've spent many time on it and I've posted only when it was working fine. Maybe I've done some modifications when I've cleanup the code, because since I was using a game_player_equip entity I remember I could know if it was working or not if I get or not a gun. So, probably a typo when I wanted to release.
Anyway for the first you're right, obviously. The second, you're wrong. We have changed nothing which need to be supercede, just a check. |
All times are GMT -4. The time now is 11:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.