• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Server] How to get the exacly pos where a bomb drops?
#3
(2021-04-20, 02:58 PM)AbyssMorgan Wrote: SA:MP dont have function for detect bomb/grenade position, 3DTryg library has a callback that estimates such positions for grenades
You can use this script with ColAndreas for get flashbang, smoke, molotov effect. C4 bomb not suported.
https://www.burgershot.gg/showthread.php?tid=1908

Hmmm ty... so this?[color=#be2026][size=small][font=Roboto]3DTryg.inc?do the stuff?

I don't want all that stuff...
How can i get just the pos?

Like this:
Code:
public OnPlayerDroppingGrenade(playerid,weaponid,Float:x,Float:y,Float:z){
  new string[128];
  format(string, sizeof string, "playerid[%i],weaponid[%i],x[%f],y[%f],z[%f]", playerid,weaponid,x,y,z);
  SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
  return 1;
}
  Reply


Messages In This Thread
RE: How to get the exacly pos where a bomb drops? - by annety - 2021-04-21, 07:04 AM

Forum Jump: