Animation?
#1

Uhh, what's the animation for sitting on a chair? I have a /seat command, but when you stand infront of the chair, you end up sitting on air instead of the chair, cause your character moves forward for some reason (collision probably). How to avoid this?

This is my /seat cmd:

pawn Код:
if(strcmp(cmd, "/seat", true) == 0)
    {
        if(pCriticallyInjured[playerid] == 1) return SendClientMessage(playerid, COLOR_ORANGE, "[ERROR:] Critically injured!");
        if(!IsPlayerInAnyVehicle(playerid))
        {
            ApplyAnimation(playerid,"PED","SEAT_down",4.1,0,1,1,1,0,1);
        }
        else
        {
            SendClientMessage(playerid, COLOR_ORANGE, "[ERROR:] Not possible in a vehicle.");
        }
        return 1;
    }
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=6504 < there ya go. Look at every single on of them.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)