Loading Add-On: Weapon_10mmPistol (CRC:**********)
Add-Ons/Weapon_10mmPistol/Weapon_10mmPistol.cs Line: 4 - Syntax error.
>>> Some error context, with ## on sides of error halt:
/10mmpistol.cs
//audio
datablock AudioProfile(10m##m##pistolShot1Sound)
{
filename = "Add-ons/weapon_gun/GunShot1.wav";
description = AudioClose3d;
preload = true;
};
datablock AudioProfile(bulletHitSound)
{
filename = "Add-ons/weapon_gun/bulletHit.wav";
description = AudioClose3d;
>>> Error report complete.
ADD-ON "Weapon_10mmPistol" CONTAINS SYNTAX ERRORS
What is wrong with the "m"?