• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Library] 3DTryg
#6
(2021-05-25, 11:18 PM)Radical Wrote: Item::IsPointInWaterOrient function is not woking for me.

If water in 3 m of player front it's not detecting.

I use colandreas and it loaded 100%,?I don't know what's wrong.



Code:
if(!PlayerFishing[playerid]) {

? ? if(!Item::IsPointInWaterOrient(playerid,item_player,3.0,o_front)) return 0;

? ? PlayerFishing[playerid] = 1;

? ? GameTextForPlayer(playerid, "~w~Fishing...", 5000, 4);

}



Funcion work, howerer 3.0 radius is to small for fishing as you can see on video:

https://www.youtube.com/watch?v=Y-CdLwk8eOw
  Reply


Messages In This Thread
3DTryg - by AbyssMorgan - 2021-04-18, 07:24 AM
RE: 3DTryg - by Pinch - 2021-04-18, 02:48 PM
RE: 3DTryg - by AbyssMorgan - 2021-05-01, 01:24 PM
RE: 3DTryg - by AbyssMorgan - 2021-05-05, 07:52 PM
RE: 3DTryg - by Radical - 2021-05-25, 11:18 PM
RE: 3DTryg - by AbyssMorgan - 2021-05-26, 03:28 PM
RE: 3DTryg - by Radical - 2021-05-30, 09:28 PM
RE: 3DTryg - by AbyssMorgan - 2021-06-03, 06:14 AM
RE: 3DTryg - by AbyssMorgan - 2021-09-17, 08:22 PM
RE: 3DTryg - by AbyssMorgan - 2021-09-19, 04:10 PM
RE: 3DTryg - by AbyssMorgan - 2021-10-31, 10:41 AM
RE: 3DTryg - by Salik_Davince - 2022-04-24, 08:05 AM

Forum Jump: