I did. And no, I meant that I the compilation failed, but now the error was the sound, not the model. I just got home and now ill try to see if the problem is my local compiler or if I corrected the error.
EDIT: Okey, now ive fixed it! Changed it so
gSpriteBeam = precache_model("sprites/lgtning.spr");
//gSpriteBeam in the bytes, and ("weapons/gauss2.wav") in the emit_sound, now its working!
Now im going to fix another sound for it and another beam and then its done. Thx for everything G-Dog, youre awesome helping people like me
EDIT2: Okey, now im trying to make a sound longer, im using the drstrange sound "debris/beamstart7.wav", but the only argument with a number in was the volume argument. Loop? Please help me to make it bound to DRAIN_TIME, I failed to do so xD.