this is so sad
This commit is contained in:
parent
67797f379c
commit
4a8f963536
@ -58,7 +58,7 @@ bool HasLowAmmo()
|
|||||||
{
|
{
|
||||||
int *weapon_list =
|
int *weapon_list =
|
||||||
(int *) ((unsigned) (RAW_ENT(LOCAL_E)) + netvar.hMyWeapons);
|
(int *) ((unsigned) (RAW_ENT(LOCAL_E)) + netvar.hMyWeapons);
|
||||||
if (g_pLocalPlayer->holding_sniper_rifle && NET_INT(LOCAL_W, netvar.m_iAmmo + 4) <= 5)
|
if (g_pLocalPlayer->holding_sniper_rifle && CE_INT(LOCAL_W, netvar.m_iAmmo + 4) <= 5)
|
||||||
return true;
|
return true;
|
||||||
for (int i = 0; weapon_list[i]; i++)
|
for (int i = 0; weapon_list[i]; i++)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user