Some help
#1

How can I set someone to use KEY_HANDBRAKE ( while on foot ) when they press KEY_WALK?
Reply
#2

You can't. I replied to your other thread - https://sampforum.blast.hk/showthread.php?tid=550612 which is basically the same thing.
Basically aiming can be roughly simulated using animations.

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
        if(newkeys & KEY_WALK)
        {
              ApplyAnimation(playerid, "ped", "ARRESTgun", 4.0, 0, 1, 1, 1, 1, 1);
              return 1;
        }
        return true;
}
Just an example of how such a thing can be accomplished.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)