Author Topic: Am i missing something?  (Read 511 times)

Code: [Select]
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"?

Nothing, it's something somewhere around the M. The engine never tells where the error is...

Nothing, it's something somewhere around the M. The engine never tells where the error is...

The error is the "M".

I dont know how to fix this M. It be a naughty m...

I just deleted some code.

Locked.