Quote:
|
Originally Posted by xXziroXx
Errr, or even better:
(im guessing you use GS2)
NPC Code:
function onCreated()
{
this.oldNames = {"Bomb", "Bow"};
this.newNames = {"Weapons/Bomb", "Weapons/Bow"};
for (this.i = 0; this.i < this.oldNames.size(); this.i ++)
{
if ( hasweapon( this.oldNames[this.i]) ) {
removeweapon( this.oldNames[this.i]);
addweapon( this.newNames[this.i]);
}
}
}
|
I'm a crappy scripter. I can do some stuff to get me by, but no of the real good stuff. I wasn't sure how to do that.
Just recently I learned how to read server.strings and client.strings - and I'm not exactly sure wtf #I is :P