Results 1 to 3 of 3

Thread: some code dones not work~~

  
  1. #1
    zrx-power is offline -Hacks Newbie
    Join Date
    Apr 2007
    Posts
    30
    Rep Power
    13

    Default

    i had write a code in lua script,but it is not work as i will~so can some one help me ~~~


    if ((io.open("ms0:/backups/saves/mod/topmenu_plugin.rco","r"))==NULL) then
    a=a+1
    else
    System.removeFile("ms0:/backups/saves/mod/topmenu_plugin.rco","no")
    end


  2. #2
    pirata nervo is offline Programmer -Hacks Titan
    Join Date
    Mar 2007
    Posts
    5,529
    Rep Power
    18

    Default

    lua is lua C is C
    Console Addicted - The news about your console, every day!
    Console Addicted Forums

  3. #3
    LordCthulu is offline Senior Member -Hacks Enthusiast
    Join Date
    Mar 2005
    Posts
    578
    Rep Power
    15

    Default

    Looks like your missing some )) in your "((io.open" line. Unless the code is cutting off.. which I think it is...
    Oldest psp-hacks member ever.

Posting Permissions

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