SA-MP Forums Archive
Set this fishing rod on player hands on: - 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: Set this fishing rod on player hands on: (/showthread.php?tid=602578)



Set this fishing rod on player hands on: - warriorfrog - 09.03.2016

How to set Set this fishing rod on player hands on:
fishing[playerid] == true

And apply a animation?




Re: Set this fishing rod on player hands on: - Golden96 - 09.03.2016

Delete the object and attach it to the player when the player goes fishing and ApplyAnimation(playerid, "SAMP", "FishingIdle", 1, 0, 0, 0, 0, 1);

Then delete the attached object and spawn the object back when they stop fishing.