View Single Post
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
Old 02-12-2019 , 17:17   Re: How to return multiple values and apply conditionals for all possible combination
Reply With Quote #2

The only problem i could see:

PHP Code:
if (iEntPrimaryWeapon == -&& !IsValidEntity(iEntPrimaryWeapon))
{
      return;

It should be:
PHP Code:
if (iEntPrimaryWeapon == -|| !IsValidEntity(iEntPrimaryWeapon))
{
      return;

__________________

Last edited by Ilusion9; 02-12-2019 at 17:17.
Ilusion9 is offline