26.06.2011, 12:59
change
if(GetPlayerWeapon(playerid) == WEAPON_TEARGAS)
to
if(cheatweapon == WEAPON_TEARGAS && cheatammo > 0)
and remove the second check
if(GetPlayerWeapon(playerid) == WEAPON_TEARGAS)
to
if(cheatweapon == WEAPON_TEARGAS && cheatammo > 0)
and remove the second check