(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;
}