Bit Sum Fun
When using the following bitsum.
PHP Code:
I tried the below but not really sure how to do it. PHP Code:
|
Re: Bit Sum Fun
i also dont know but heave to tried this ?
PHP Code:
|
Re: Bit Sum Fun
Quote:
Code:
#define fm_cs_set_user_nobuy(%1) set_pdata_int(%1, m_iMapZone, get_pdata_int(%1, m_iMapZone) & ~(1<<0)) |
Re: Bit Sum Fun
r0cks code looks correct to me.
Add bit: Var | ( 1 << X ) Remove bit: Var & ~( 1 << X ) |
Re: Bit Sum Fun
Your code is correct, but player has to really be in buyzone in order to work, else you would need to constantly add the bit somewhere like prethink POST.
|
Re: Bit Sum Fun
Quote:
and the buyzone block is filtered by the players team. |
Re: Bit Sum Fun
You don't understand.
Each frame, mapzone are checked, so if you have disabled them on a player you have to disable indefinitely if they stand on a buyzone, same if they are not in a zone and you want to enable buy. |
Re: Bit Sum Fun
it removes the bit on the status icon... However it filters to only one team (atleast it should)
PHP Code:
g_iPlayerTeam[id] = CS_TEAM_CT/T g_MenuTeam = CS_TEAM_CT/T depending on the value of the cvar. 1 = T 2 = CT any other value = Both. For some reason if g_iTeamMode is 1. Buyzones are blocked for each player on both teams. |
Re: Bit Sum Fun
Use info_map_parameters entity to disable buy on a wanted team.
Remove the StatusIcon hook. |
Re: Bit Sum Fun
Quote:
PHP Code:
|
| All times are GMT -4. The time now is 19:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.