I'm working on a new weapon, but the way it is now won't work in MP (due to model switching) and I was wondering, if I would use
Would that work? I've never done anything with conditions before so I don't know if I have even that set up right.
------------------
Look for my current project, The Force in Your Soul.
Last week I cudn't evn spel grajuat, but now I is one.
*Takes out his blaster and fires shots at the wall, the blastmarks leave the words "S-TROOPER WUZ 'ERE!!!"
Code:
if (IsServer()) { code for SP gun } if (IsMulti()) { code for MP gun }
Would that work? I've never done anything with conditions before so I don't know if I have even that set up right.
------------------
Look for my current project, The Force in Your Soul.
Last week I cudn't evn spel grajuat, but now I is one.
*Takes out his blaster and fires shots at the wall, the blastmarks leave the words "S-TROOPER WUZ 'ERE!!!"