02.04.2019, 16:28
It is possible, try doing something like this.
pawn Код:
new Float:g_vPosition[ 3 ];
GetVehiclePos(vehicleid, g_vPosition[0], g_vPosition[1], g_vPosition[2]);
CreateExplosion(g_vPosition[0], g_vPosition[1], g_vPosition[2], 0, 5);
if(IsPlayerInVehicle(playerid, vehicleid)) SetPlayerHealth(playerid, 0);
SetVehicleHealth(vehicleid, -1);