/sit command - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: /sit command (
/showthread.php?tid=417718)
/sit command -
Ananisiki - 22.02.2013
^^^^^^^^
Re: /sit command -
Mark_Samp - 22.02.2013
here this this :
PHP код:
if(strcmp(cmdtext, "/sit", true) == 0)
{
ApplyAnimation(playerid,"INT_OFFICE","OFF_Sit_Type_Loop", 4.0, 1, 0, 0, 0, 0);
return 1;
}
Not Tested
Tell me if it worked
Re: /sit command -
Ananisiki - 22.02.2013
^^^^^^^^
Re: /sit command -
Ananisiki - 22.02.2013
^^^^^^^^
Re: /sit command -
R1KPublic - 22.02.2013
Press enter
Re: /sit command -
MiGu3X - 22.02.2013
Add after ApplyAnimation..
pawn Код:
GameTextForPlayer(playerid, "~r~You are sitting down", 3000, 4); // will send player a gametext...
return 1;
Re: /sit command -
Ananisiki - 22.02.2013
^^^^^^^^
Re: /sit command -
Bakr - 23.02.2013
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