Object and anim of goggles doesn't shows up after using
#1

When another player is trying to wear the Night Vision Goggles or Thermal Goggles I can't see them doing any animation or the object on their head but they do see the object and anim on their screen.

I put this code under OnPlayerUpdate and it fixes the bug. Is there a way to apply an animation and attach an object when a player wears them but when he takes them off disable the object?
pawn Код:
switch(GetPlayerWeapon(playerid))
    {
        case 44, 45:
        {
            new keys, ud, lr;
            GetPlayerKeys(playerid, keys, ud, lr);
            if((keys & KEY_FIRE) && (!IsPlayerInAnyVehicle(playerid)))
            {
                return 0;
            }
        }
    }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)