[HELP] What is the animation bedtime? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] What is the animation bedtime? (
/showthread.php?tid=119038)
[HELP] What is the animation bedtime? -
dioguitosbr - 06.01.2010
I'm making an RPG (GameMode) put the animation that I use makes the doll above the ground ....
I use this:
Код:
ApplyAnimation(playerid,"INT_HOUSE", "BED_Loop_R", 4.1,0,0,1,1,temp(IGNORE));
What would be the ideal entertainment for him to lie on the floor?
Sorry for the bad English... I used the ****** translator!
Re: [HELP] What is the animation bedtime? -
Deat_Itself - 06.01.2010
Код:
if (strcmp("/lay", cmdtext, true, 6) == 0) {
LoopingAnim(playerid,"BEACH", "bather", 4.0, 1, 0, 0, 0, 0); // Lay down
return 1;
}
Код:
public OnPlayerSpawn(playerid)
{
PreloadAnimLib(playerid,"BEACH");
return 1;
}
Код:
LoopingAnim(playerid,animlib[],animname[], Float:Speed, looping, lockx, locky, lockz, lp)
{
gPlayerUsingLoopingAnim[playerid] = 1;
ApplyAnimation(playerid, animlib, animname, Speed, looping, lockx, locky, lockz, lp);
TextDrawShowForPlayer(playerid,txtAnimHelper);
}
PreloadAnimLib(playerid, animlib[])
{
ApplyAnimation(playerid,animlib,"null",0.0,0,0,0,0,0);
}