View Single Post
  #1  
Old 03-19-2008, 09:38 AM
[email protected] sid.gottlieb@googlemail.com is offline
Banned
Join Date: Mar 2008
Posts: 861
sid.gottlieb@googlemail.com will become famous soon enough
odd problem i think

when i update my "Control-NPC" it says this

Quote:
The script of NPC Control-NPC has been updated by Graal707396
al,ac,at
inside the Control-NPC is this

PHP Code:
function onActionPlayerOnline()
  {    
    for (
temp.i: ({"tileset", "chat profiles"}))
      
player.addweapon(i);
    
    
player.setlevel2("onlinestartlocal.graal", 29.5, 29.5);
  } 
why does it do that?? it is doing my sorting weapon script everytime i update it, here is my sorting npc weapon

PHP Code:
function onCreated() 
  {
    
temp.a = {{"ac", 4}, {"at", 7}, {"al", 1}};
    
temp.e = {};
    
temp.c = null;
    
    for (
temp.i: a) 
      {
        
e.add(i[0]);
        
e[c].sortvalue = i[1];
        
c++;
      }
    
e.sortbyvalue("sortvalue", "float", true);
    echo(
e);
  } 
why does it keep echoing it??
Reply With Quote