Setting teamscore?
Hi!
How does I increse the Counter-Terrorists score by 10? |
Re: Setting teamscore?
http://forums.alliedmods.net/showthread.php?t=27590
or try this: Code:
/** |
Re: Setting teamscore?
Ham_AddPointsToTeam add points for all players of a team.
There is the module cshack but I don't know if it works well. AFAIK there is are no amxx plugin which alter the team score. "ScoreInfo" event updates the team score only on the score board and not internally. |
Re: Setting teamscore?
teamscore stores in this class
CGameRules, I don't know the member variable's name. Its offset (word based) is 120(ct) & 122(t) This class doesn't have an entity to linked with. It just declare as a global variable. extern DLL_GLOBAL CGameRules *g_pGameRules in win32 this offset has changed to 0x1622F4 Code:
#include <amxmodx> |
Re: Setting teamscore?
Quote:
just no effect no matter how much i do ham cmd PHP Code:
|
Re: Setting teamscore?
Weird. Ham_AddPoints works though.
|
Re: Setting teamscore?
hmm.. wtf it just adds frags, nothing releted to teamscore =\
|
Re: Setting teamscore?
Of course, I thought you had already understood that... after reading #3 above.
For team score, you have to use Orpheu. Basically g_pGamerules and the offsets 120/122. |
| All times are GMT -4. The time now is 18:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.