Quote:
|
Originally Posted by Omini
PHP Code:
clientr.hotkey1.replace(0,params[1]);
clientr.hotkey1.replace(1,params[2]);
for (temp.w: weapons) {
if (temp.w.name == clientr.hotkey1[0]) {
clientr.hotkey1.replace(2,temp.w);
}
}
That isn't working.
|
Might help if you gave more information.
Have you tried doing: player.weapon = findWeapon("WeaponName"); ?