Thread: add model [renamed]

Results 1 to 5 of 5
  1. #1 add model [renamed] 
    Registered Member
    natsu's Avatar
    Join Date
    Apr 2007
    Age
    29
    Posts
    3,451
    Thanks given
    1,084
    Thanks received
    676
    Rep Power
    1096
    hello i need a add model renamed i got get model renamed but not add model here is the command

    if(s.startsWith("add model"))
    {
    try
    {
    int ModelIndex = Integer.parseInt(s.substring(10));
    byte[] abyte0 = GetModel(ModelIndex);
    if(abyte0 != null && abyte0.length > 0){
    aClass14Array970[1].method234(abyte0.length, abyte0, (byte)2, ModelIndex);
    method77("Model: ["+ModelIndex+"] added successfully!", 0, "", aBoolean991);
    }else{
    method77("Unable to find the model. "+ModelIndex, 0, "", aBoolean991);
    }
    }
    catch(Exception e)
    {
    method77("Syntax - ::add model <path>", 0, "", aBoolean991);}
    }
    Reply With Quote  
     

  2. #2  
    Registered Member Toxic's Avatar
    Join Date
    May 2007
    Age
    28
    Posts
    367
    Thanks given
    0
    Thanks received
    1
    Rep Power
    38
    Might I suggest
    Code:
    if(s.startsWith("add model"))
    {
    try
    {
    int ModelIndex = Integer.parseInt(s.substring(10));
    byte[] abyte0 = GetModel(ModelIndex);
    if(abyte0 != null && abyte0.length > 0){
    aClass14Array970[1].method234(abyte0.length, abyte0, (byte)2, ModelIndex);
    method77("Model: ["+ModelIndex+"] added successfully!", 0, "", aBoolean991);
    }else{
    method77("Unable to find the model. "+ModelIndex, 0, "", aBoolean991);
    }
    }
    catch(Exception e)
    {
    method77("Syntax - ::add model <path>", 0, "", aBoolean991);}
    }
    Reply With Quote  
     

  3. #3  
    Registered Member
    natsu's Avatar
    Join Date
    Apr 2007
    Age
    29
    Posts
    3,451
    Thanks given
    1,084
    Thanks received
    676
    Rep Power
    1096
    u might read it again
    Reply With Quote  
     

  4. #4  
    hTmL
    Guest
    Lol these are the same.
    Reply With Quote  
     

  5. #5  
    Registered Member
    natsu's Avatar
    Join Date
    Apr 2007
    Age
    29
    Posts
    3,451
    Thanks given
    1,084
    Thanks received
    676
    Rep Power
    1096
    yes i know i need a renamed 1 but hy didnt read the topic and my text ...
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •