
09-08-2011, 10:27 PM
|
|
team canada
|
 |
Join Date: Jul 2004
Location: Canada
Posts: 5,200
|
|
|
You could also use a switch statement instead of multiple ifs as well.
In Give_Button.onAction() you could also just do:
triggerserver("weapon", this.name, temp.item);
Since your parameters on the server-side match up with the ones on the client-side. |
|
|
|