23.01.2015, 23:53
pawn Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
if(IsPlayerInAnyVehicle(playerid))
{
/* Yes, shooting in car ..
You can use GetPlayerVehicleID to be more ..
accurate in ID, or your model with GetVehicleModel (GetPlayerVehicleID (playerid)) .. */
}
return 1;
}

