SA-MP Forums Archive
how to create a animation for kiss an other player? - 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: how to create a animation for kiss an other player? (/showthread.php?tid=74625)



how to create a animation for kiss an other player? - caldaia - 24.04.2009

someone can give me the code or explain how i can create an animation for kiss an other player like in this image??

/imageshack/img402/4445/ioete.png

thx guy : )


Re: how to create a animation for kiss an other player? - MenaceX^ - 24.04.2009

ApplyAnimation.


Re: how to create a animation for kiss an other player? - caldaia - 24.04.2009

can u give me a better explaination plese?>.<?


Re: how to create a animation for kiss an other player? - MenaceX^ - 24.04.2009

Yes.
pawn Код:
ApplyAnimation(playerid, "KISSING", "Playa_Kiss_02", 3.0, 1, 0, 1, 1, 0);



Re: how to create a animation for kiss an other player? - n4pkill - 03.11.2010

wow what an old thread...

i would like to know how its possible to make the players looking like theyre "inside" each other.

SetPlayerPos doesnt work like i need that how its looking on the photo


Re: how to create a animation for kiss an other player? - The_Moddler - 03.11.2010

You have to try with GetPlayerFacingAngle, and doing some maths, you can get it to work.


Re: how to create a animation for kiss an other player? - n4pkill - 03.11.2010

pawn Код:
new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
               
    x -= 0.1;
    SetPlayerPos(kissedID, x, y, z);
               
    SetPlayerFacingAngle(playerid, 270);
    SetPlayerFacingAngle(kissedID, 90);
doesnt show the players like this picture from the startpost...