/sit command
#1

^^^^^^^^
Reply
#2

here this this :
PHP код:
if(strcmp(cmdtext"/sit"true) == 0)
    {
        
ApplyAnimation(playerid,"INT_OFFICE","OFF_Sit_Type_Loop"4.010000);
        return 
1;
    } 
Not Tested
Tell me if it worked
Reply
#3

^^^^^^^^
Reply
#4

^^^^^^^^
Reply
#5

Press enter
Reply
#6

Add after ApplyAnimation..

pawn Код:
GameTextForPlayer(playerid, "~r~You are sitting down", 3000, 4); // will send player a gametext...
return 1;
Reply
#7

^^^^^^^^
Reply
#8

There are hundreds if not over a thousand animations. Take the time to look through and test the ones that may seem to fit your needs yourself.

https://sampwiki.blast.hk/wiki/ApplyAnimation

Below is the link for all the animation libraries (animlib[]) and the names (animname[]). The libraries are the bold headings and the names are all the text below each category.

https://sampwiki.blast.hk/wiki/Animations
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)