SA-MP Forums Archive
Animation fishing. - 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: Animation fishing. (/showthread.php?tid=611289)



Animation fishing. - Unrea1 - 04.07.2016

Hello friends,

I need an animation or something on that "the player pull the fishing rod" I've been looking but can not get something, thanks.


Re: Animation fishing. - luke49 - 04.07.2016

You can find your needed animations here:
https://sampwiki.blast.hk/wiki/Animations

I guess you looking for FishingIdle.


Re: Animation fishing. - AliDollar - 04.07.2016

This command give you a fishing rod + fishing animation.
Код:
CMD:fishing(playerid, params[])
{
    ApplyAnimation(playerid, "SAMP", "FishingIdle", 3.0,1,1,0,0,0);
    SetPlayerAttachedObject( playerid, 0, 18632, 1, -0.091109, 0.255484, 0.018155, 94.362060, 312.328125, 190.418655, 1.000000, 1.000000, 1.000000 );
    SendClientMessage(playerid, -1, "[FISHING]  /stopfishing to stop Fishing!");
    return 1;
}

CMD:stopfishing(playerid, params[])
{
   ClearAnimations(playerid);
   RemovePlayerAttachedObject(playerid, 0);
   SendClientMessage(playerid, -1, "[FISHING] Fishing stopped!");
   return 1;
}