Weird crash on weapon switch.

Discussion in 'Mapping Questions & Discussion' started by Randdalf, Jun 12, 2008.

  1. Randdalf

    aa Randdalf

    Messages:
    1,054
    Positive Ratings:
    462
    I've created a map where I only want the sniper class to be played and the kukri weapon to be used. I've used a trigger_multiple to kill both of the sniper's other weapons and a clientcommand to make them join the sniper class.

    In the game this all works fine, I switch from a solider to a sniper automatically, and on the weapon switch screen I see that I can only choose my Kukri. However, when I do switch to the weapon, the game freezes a short while after and crashes. How do I fix this?

    Also, as a matter of interest, how do you make a person switch automatically to a weapon, I know the sort of code, but it doesn't seem to work instantly.
     
  2. Big Lou

    Big Lou L3: Member

    Messages:
    120
    Positive Ratings:
    27
    This will always crash servers post medic update. You are going to have to remove it.
     
    • Thanks Thanks x 1
  3. Randdalf

    aa Randdalf

    Messages:
    1,054
    Positive Ratings:
    462
    Oh right, thanks for the info. Does this crash when weapons are removed via the server as well?