Hello all, I got a little problem with this code here :
string score," ";
var playerpoint=0;
function addpoint()
{
playerpoint+=1;
str_for_num(score,playerpoint ); // convert to string
msg_show(score,2);
// PLAY_SOUND ammo_fetch,0; // turn off stupid sound!!!!!
}
action item1
{
my.push = -1;
my.enable_push = on;
my.skill1=1;
my.event = addpoint;
}
its simple enough so that when ever you run over another entity, you get some points. but my problem is that it always plays this stupid annoying sound when ever i run over the entity. anyone know how i would turn it off?? is there another way to do this code?? please help..
thanks
neuro