perhaps we need to limit the number of times the function is called rather than limiting the number of times the bullet is created:
Code:
action player_action()
{
  var reload = 0;
  while(1)
  {
    if(key_space)
    {
      standard_shoot();
      reload = 10;
    }
    reload -= (reload > 0);
    wait(1);
}


Last edited by heinekenbottle; 11/10/08 02:29.

I was once Anonymous_Alcoholic.

Code Breakpoint;