Seite 72 von 342 ErsteErste ... 22 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 122 172 ... LetzteLetzte
Zeige Ergebnis 2.131 bis 2.160 von 10238

Lua Programming Help Thread

This is a discussion on Lua Programming Help Thread within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; OK , maybe some ppl are gonna find me anoying but no one is ever answering this is my code: ...

  
  1. #2131
    QJ Gamer Silver
    Points: 11.326, Level: 70
    Level completed: 19%, Points required for next Level: 324
    Overall activity: 0%

    Registriert seit
    Jan 2006
    Beiträge
    871
    Points
    11.326
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    OK , maybe some ppl are gonna find me anoying but no one is ever answering this is my code:
    Code:
    if pad:cross() and oldpad:cross() ~= pad:cross() and Command == 1 then
    Select:play() Drawcard = 1
    end
    
    if Drawcard == 1 then
    drawCard() Points = Points + Pointstwo
    end
    but my prob is how do i make an other command next time i press it like this:

    Code:
    if pad:cross() and oldpad:cross() ~= pad:cross() and Command == 1 then
    Select:play() Drawcard = 2
    end
    
    if Drawcard == 2 then
    drawCardthree() Points = Points + Pointstwo + Pointsthree
    end
    I wounld be glad if somone help's ME.



  2. #2132
    Your Fate is Grim...
    Points: 11.640, Level: 70
    Level completed: 98%, Points required for next Level: 10
    Overall activity: 0%

    Registriert seit
    Oct 2005
    Beiträge
    2.269
    Points
    11.640
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von ZereoX
    OK , maybe some ppl are gonna find me anoying but no one is ever answering this is my code:
    Code:
    if pad:cross() and oldpad:cross() ~= pad:cross() and Command == 1 then
    Select:play() Drawcard = 1
    end
    
    if Drawcard == 1 then
    drawCard() Points = Points + Pointstwo
    end
    but my prob is how do i make an other command next time i press it like this:

    Code:
    if pad:cross() and oldpad:cross() ~= pad:cross() and Command == 1 then
    Select:play() Drawcard = 2
    end
    
    if Drawcard == 2 then
    drawCardthree() Points = Points + Pointstwo + Pointsthree
    end
    I wounld be glad if somone help's ME.

    you could make a integer:

    Code:
    a = 0
    then do:

    Code:
    if pad:cross() and oldpad:cross() ~= pad:cross() and Command == 1 then
    a = a+1
    Select:play() Drawcard = a
    end
    so then "a" will be 2. and so on.

    im not 100% that will work, but it should
    Geändert von Grimfate126 (05-07-2006 um 05:43 PM Uhr)
    --------------------------------------------------------------------------------------

  3. #2133
    QJ Gamer Silver
    Points: 11.326, Level: 70
    Level completed: 19%, Points required for next Level: 324
    Overall activity: 0%

    Registriert seit
    Jan 2006
    Beiträge
    871
    Points
    11.326
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    Tkz il try later on.

    Other question how do i make a screenshot whit WindowsLUAplayer?

  4. #2134
    TheMarioKarters
    Guest

    Standard

    Yeah, Grimfate126, that would work.

  5. #2135
    QJ Gamer Gold
    Points: 18.627, Level: 86
    Level completed: 56%, Points required for next Level: 223
    Overall activity: 0%

    Registriert seit
    Mar 2006
    Ort
    LOLWUT
    Beiträge
    2.625
    Points
    18.627
    Level
    86
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von ZereoX
    Tkz il try later on.

    Other question how do i make a screenshot whit WindowsLUAplayer?
    With the windows one, use this:

    Code:
    screen:save("screenshot.tga")
    Or I think it could be done like this also:

    Code:
    if pad:cross() then
    screen:save("screenshot.tga")
    end
    Then just open up the screenshot in paint. And I also think you could put .png if you dont like .tga
    EDIT-Thanks monotrob!
    Geändert von PSPduh (05-07-2006 um 05:43 PM Uhr)

  6. #2136
    Your Fate is Grim...
    Points: 11.640, Level: 70
    Level completed: 98%, Points required for next Level: 10
    Overall activity: 0%

    Registriert seit
    Oct 2005
    Beiträge
    2.269
    Points
    11.640
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von PSPduh
    With the windows one, use this:

    Code:
    screen:save("screenshot.tga")
    Or I think it could be done like this also:

    Code:
    if pad:cross() then
    screen:save("screenshot.tga")
    end
    Then just open up the screenshot in paint.
    EDIT-Thanks monotrob!

    u can use tga?? i use .png
    --------------------------------------------------------------------------------------

  7. #2137
    QJ Gamer Gold
    Points: 18.627, Level: 86
    Level completed: 56%, Points required for next Level: 223
    Overall activity: 0%

    Registriert seit
    Mar 2006
    Ort
    LOLWUT
    Beiträge
    2.625
    Points
    18.627
    Level
    86
    Downloads
    0
    Uploads
    0

    Standard

    I just edited it. :) Yea because in the luaplayer windows, if you open up the test, then scroll all the way down to the bottom of it, it has that line. Plus it comes bundled with the screenshot.tga of the test program.

  8. #2138
    Your Fate is Grim...
    Points: 11.640, Level: 70
    Level completed: 98%, Points required for next Level: 10
    Overall activity: 0%

    Registriert seit
    Oct 2005
    Beiträge
    2.269
    Points
    11.640
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von PSPduh
    I just edited it. :) Yea because in the luaplayer windows, if you open up the test, then scroll all the way down to the bottom of it, it has that line. Plus it comes bundled with the screenshot.tga of the test program.

    cool, i didnt kno that.:) i dunt use it anyway.

    p.s. 700th post. yay!!!
    --------------------------------------------------------------------------------------

  9. #2139
    QJ Gamer Silver
    Points: 11.326, Level: 70
    Level completed: 19%, Points required for next Level: 324
    Overall activity: 0%

    Registriert seit
    Jan 2006
    Beiträge
    871
    Points
    11.326
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    TKz work il use png next time

  10. #2140
    Your Fate is Grim...
    Points: 11.640, Level: 70
    Level completed: 98%, Points required for next Level: 10
    Overall activity: 0%

    Registriert seit
    Oct 2005
    Beiträge
    2.269
    Points
    11.640
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von ZereoX
    TKz work il use png next time

    does the code work??or have u not tried it yet?
    --------------------------------------------------------------------------------------

  11. #2141
    TheMarioKarters
    Guest

    Standard

    Yeah, png is better than tga.

  12. #2142
    QJ Gamer Silver
    Points: 11.326, Level: 70
    Level completed: 19%, Points required for next Level: 324
    Overall activity: 0%

    Registriert seit
    Jan 2006
    Beiträge
    871
    Points
    11.326
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    grim when i start my game the 3 card's are already on the table i don't even have to press x. big prob.

  13. #2143
    Your Fate is Grim...
    Points: 11.640, Level: 70
    Level completed: 98%, Points required for next Level: 10
    Overall activity: 0%

    Registriert seit
    Oct 2005
    Beiträge
    2.269
    Points
    11.640
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von ZereoX
    grim when i start my game the 3 card's are already on the table i don't even have to press x. big prob.

    can u pm me your whole code? im confused.
    --------------------------------------------------------------------------------------

  14. #2144
    QJ Gamer Silver
    Points: 11.326, Level: 70
    Level completed: 19%, Points required for next Level: 324
    Overall activity: 0%

    Registriert seit
    Jan 2006
    Beiträge
    871
    Points
    11.326
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    here is my draw function: W and V are ranfom functions
    Code:
    function drawCard()
    if W == 1 then screen:blit(55, 165, Aceclover)
    elseif W == 2 then screen:blit(55, 165, Acediamond)
    elseif W == 3 then screen:blit(55, 165, Aceheart)
    elseif W == 4 then screen:blit(55, 165, Acespade)
    elseif W == 5 then screen:blit(55, 165, Twoclover)
    elseif W == 6 then screen:blit(55, 165, Twodiamond)
    elseif W == 7 then screen:blit(55, 165, Twoheart)
    elseif W == 8 then screen:blit(55, 165, Twospade)
    elseif W == 9 then screen:blit(55, 165, Threeclover)
    elseif W == 10 then screen:blit(55, 165, Threediamond)
    elseif W == 11 then screen:blit(55, 165, Threeheart)
    elseif W == 12 then screen:blit(55, 165, Threespade)
    elseif W == 13 then screen:blit(55, 165, Fourclover)
    elseif W == 14 then screen:blit(55, 165, Fourdiamond)
    elseif W == 15 then screen:blit(55, 165, Fourheart)
    elseif W == 16 then screen:blit(55, 165, Fourspade)
    elseif W == 17 then screen:blit(55, 165, Fiveclover)
    elseif W == 18 then screen:blit(55, 165, Fivediamond)
    elseif W == 19 then screen:blit(55, 165, Fiveheart)
    elseif W == 20 then screen:blit(55, 165, Fivespade)
    elseif W == 21 then screen:blit(55, 165, Sixclover)
    elseif W == 22 then screen:blit(55, 165, Sixdiamond)
    elseif W == 23 then screen:blit(55, 165, Sixheart)
    elseif W == 24 then screen:blit(55, 165, Sixspade)
    elseif W == 25 then screen:blit(55, 165, Sevenclover)
    elseif W == 26 then screen:blit(55, 165, Sevendiamond)
    elseif W == 27 then screen:blit(55, 165, Sevenheart)
    elseif W == 28 then screen:blit(55, 165, Sevenspade)
    elseif W == 29 then screen:blit(55, 165, eightclover)
    elseif W == 30 then screen:blit(55, 165, eightdiamond)
    elseif W == 31 then screen:blit(55, 165, eightheart)
    elseif W == 32 then screen:blit(55, 165, eightspade)
    elseif W == 33 then screen:blit(55, 165, Nineclover)
    elseif W == 34 then screen:blit(55, 165, Ninediamond)
    elseif W == 35 then screen:blit(55, 165, Nineheart)
    elseif W == 36 then screen:blit(55, 165, Ninespade)
    elseif W == 37 then screen:blit(55, 165, Tenclover)
    elseif W == 38 then screen:blit(55, 165, Tendiamond)
    elseif W == 39 then screen:blit(55, 165, Tenheart)
    elseif W == 40 then screen:blit(55, 165, Tenspade)
    elseif W == 41 then screen:blit(55, 165, Jackclover)
    elseif W == 42 then screen:blit(55, 165, Jackdiamond)
    elseif W == 43 then screen:blit(55, 165, Jackheart)
    elseif W == 44 then screen:blit(55, 165, Jackspade)
    elseif W == 45 then screen:blit(55, 165, Queenclover)
    elseif W == 46 then screen:blit(55, 165, Queendiamond)
    elseif W == 47 then screen:blit(55, 165, Queenheart)
    elseif W == 48 then screen:blit(55, 165, Queenspade)
    elseif W == 49 then screen:blit(55, 165, Kingclover)
    elseif W == 50 then screen:blit(55, 165, Kingdiamond)
    elseif W == 51 then screen:blit(55, 165, Kingheart)
    elseif W == 52 then screen:blit(55, 165, Kingspade)
    end
    end
    
    function drawCardthree()
    if V == 1 then screen:blit(70, 165, Aceclover)
    elseif V == 2 then screen:blit(70, 165, Acediamond)
    elseif V == 3 then screen:blit(70, 165, Aceheart)
    elseif V == 4 then screen:blit(70, 165, Acespade)
    elseif V == 5 then screen:blit(70, 165, Twoclover)
    elseif V == 6 then screen:blit(70, 165, Twodiamond)
    elseif V == 7 then screen:blit(70, 165, Twoheart)
    elseif V == 8 then screen:blit(70, 165, Twospade)
    elseif V == 9 then screen:blit(70, 165, Threeclover)
    elseif V == 10 then screen:blit(70, 165, Threediamond)
    elseif V == 11 then screen:blit(70, 165, Threeheart)
    elseif V == 12 then screen:blit(70, 165, Threespade)
    elseif V == 13 then screen:blit(70, 165, Fourclover)
    elseif V == 14 then screen:blit(70, 165, Fourdiamond)
    elseif V == 15 then screen:blit(70, 165, Fourheart)
    elseif V == 16 then screen:blit(70, 165, Fourspade)
    elseif V == 17 then screen:blit(70, 165, Fiveclover)
    elseif V == 18 then screen:blit(70, 165, Fivediamond)
    elseif V == 19 then screen:blit(70, 165, Fiveheart)
    elseif V == 20 then screen:blit(70, 165, Fivespade)
    elseif V == 21 then screen:blit(70, 165, Sixclover)
    elseif V == 22 then screen:blit(70, 165, Sixdiamond)
    elseif V == 23 then screen:blit(70, 165, Sixheart)
    elseif V == 24 then screen:blit(70, 165, Sixspade)
    elseif V == 25 then screen:blit(70, 165, Sevenclover)
    elseif V == 26 then screen:blit(70, 165, Sevendiamond)
    elseif V == 27 then screen:blit(70, 165, Sevenheart)
    elseif V == 28 then screen:blit(70, 165, Sevenspade)
    elseif V == 29 then screen:blit(70, 165, eightclover)
    elseif V == 30 then screen:blit(70, 165, eightdiamond)
    elseif V == 31 then screen:blit(70, 165, eightheart)
    elseif V == 32 then screen:blit(70, 165, eightspade)
    elseif V == 33 then screen:blit(70, 165, Nineclover)
    elseif V == 34 then screen:blit(70, 165, Ninediamond)
    elseif V == 35 then screen:blit(70, 165, Nineheart)
    elseif V == 36 then screen:blit(70, 165, Ninespade)
    elseif V == 37 then screen:blit(70, 165, Tenclover)
    elseif V == 38 then screen:blit(70, 165, Tendiamond)
    elseif V == 39 then screen:blit(70, 165, Tenheart)
    elseif V == 40 then screen:blit(70, 165, Tenspade)
    elseif V == 41 then screen:blit(70, 165, Jackclover)
    elseif V == 42 then screen:blit(70, 165, Jackdiamond)
    elseif V == 43 then screen:blit(70, 165, Jackheart)
    elseif V == 44 then screen:blit(70, 165, Jackspade)
    elseif V == 45 then screen:blit(70, 165, Queenclover)
    elseif V == 46 then screen:blit(70, 165, Queendiamond)
    elseif V == 47 then screen:blit(70, 165, Queenheart)
    elseif V == 48 then screen:blit(70, 165, Queenspade)
    elseif V == 49 then screen:blit(70, 165, Kingclover)
    elseif V == 50 then screen:blit(70, 165, Kingdiamond)
    elseif V == 51 then screen:blit(70, 165, Kingheart)
    elseif V == 52 then screen:blit(70, 165, Kingspade)
    end
    end
    here is my Hit and stand code:
    Code:
    if pad:up() and oldpad:up() ~= pad:up() then
    Command = Command-1
    end
    
    if pad:down() and oldpad:down() ~= pad:down() then 
    Command = Command+1
    end
    
    if Command > 3 then
    Command = 0
    end
    
    if Command < 0 then
    Command = 3
    end
    
    if Command == 0  then
    screen:blit(350,175,Selector)
    else
    if Command == 1  then
    screen:blit(360,195,Selector)
    else
    if Command == 2  then
    screen:blit(343,215,Selector)
    else
    if Command == 3  then
    screen:blit(350,235,Selector)
    end
    end
    end
    end
    
    if pad:cross() and oldpad:cross() ~= pad:cross() and Command == 1 then
    Select:play() Drawcard = 1
    end
    
    if Drawcard == 1 then
    drawCard() Points = Points + Pointstwo
    end
    
    if pad:cross() and oldpad:cross() ~= pad:cross() and Command == 0 then
    Select:play() Dealerdraw = 1
    end
    
    if Dealerdraw == 1 then
    dealerDrawtwo()
    Special = 1
    end
    
    if Special == 1 then
    Dealerpoints = Dealerpoints+Dealerpointstwo
    end
    
    if Special == 1 then
    pointsCalculate()
    screen:print(0,0,"Press [] to Restart",white)
    screen:print(0,10,"Press O to Return",white)
    
    if pad:square() then
    dofile("game.lua")
    end
    if pad:circle() then
    dofile("script.lua")
    end
    end
    
    if pad:cross() and oldpad:cross() ~= pad:cross() and Command == 2 then
    Select:play() <-----Didn't do nothing yet
    end
    
    if pad:cross() and oldpad:cross() ~= pad:cross() and Command == 3 then
    Select:play() <-----Didn't do nothing yet
    end

  15. #2145
    Points: 4.622, Level: 43
    Level completed: 36%, Points required for next Level: 128
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Beiträge
    36
    Points
    4.622
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Altair
    Nope there aren't any "label" and "goto" commands. I was looking for those too at first, but you'll have to do with functions. Works just as good.
    Thanks :) Guess the loops will get quite big, but the PSP is fast enough for that :Jump:

  16. #2146
    QJ Gamer Green
    Points: 13.310, Level: 75
    Level completed: 15%, Points required for next Level: 340
    Overall activity: 0%

    Registriert seit
    Dec 2005
    Ort
    Here
    Beiträge
    2.715
    Points
    13.310
    Level
    75
    Downloads
    0
    Uploads
    0

    Standard

    ZereoX, if youre using notepad, then you can do this.

    In notepad, while editing your script, press CTRL and F.

    Then search for ALL your function's names.

    Look for any stray functions you called outside of an 'if' statement.

    If that doesnt work. Post all your code again, except put all your functions in bold. It makes looking for errors or hiccups easier. :icon_smil Heck, doing that, you might find the problem.

    EDIT - Oh yea, and what does "Command" equal in the beginning when you start?
    Geändert von EminentJonFrost (05-08-2006 um 09:09 AM Uhr)
    [CENTER][IMG]http://img148.imageshack.us/img148/6985/siglw8.jpg[/IMG][/CENTER]

  17. #2147
    Rock Star
    Points: 70.899, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 0%

    Registriert seit
    Aug 2005
    Ort
    CT| FW: 4.01 M33-2
    Beiträge
    11.844
    Points
    70.899
    Level
    100
    Downloads
    0
    Uploads
    0

    Standard

    Does anyone know where I can find a tutorial on sidescrolling. I am going to create one for psp-programming, however I need something to reference.


  18. #2148
    Gutya
    Points: 15.093, Level: 79
    Level completed: 49%, Points required for next Level: 257
    Overall activity: 0%

    Registriert seit
    Feb 2006
    Beiträge
    2.398
    Points
    15.093
    Level
    79
    Downloads
    0
    Uploads
    0

    Standard

    It wouldn't really be your tut then would it? :S
    D:

  19. #2149
    Rock Star
    Points: 70.899, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 0%

    Registriert seit
    Aug 2005
    Ort
    CT| FW: 4.01 M33-2
    Beiträge
    11.844
    Points
    70.899
    Level
    100
    Downloads
    0
    Uploads
    0

    Standard

    IM not using the whole thing, just need some for reference, and dont worry I will give credit


  20. #2150
    Gutya
    Points: 15.093, Level: 79
    Level completed: 49%, Points required for next Level: 257
    Overall activity: 0%

    Registriert seit
    Feb 2006
    Beiträge
    2.398
    Points
    15.093
    Level
    79
    Downloads
    0
    Uploads
    0

    Standard

    Well there are not any that i know of.
    D:

  21. #2151
    Rock Star
    Points: 70.899, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 0%

    Registriert seit
    Aug 2005
    Ort
    CT| FW: 4.01 M33-2
    Beiträge
    11.844
    Points
    70.899
    Level
    100
    Downloads
    0
    Uploads
    0

    Standard

    Well then I guess I might just have to right the whole thing on my own from scratch, lol.


  22. #2152
    Gutya
    Points: 15.093, Level: 79
    Level completed: 49%, Points required for next Level: 257
    Overall activity: 0%

    Registriert seit
    Feb 2006
    Beiträge
    2.398
    Points
    15.093
    Level
    79
    Downloads
    0
    Uploads
    0

    Standard

    Well it will help alot of people, when i get time i'll write up some tutorials for that site.
    D:

  23. #2153
    Rock Star
    Points: 70.899, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 0%

    Registriert seit
    Aug 2005
    Ort
    CT| FW: 4.01 M33-2
    Beiträge
    11.844
    Points
    70.899
    Level
    100
    Downloads
    0
    Uploads
    0

    Standard

    Ya I know, but I definately dont know everything there is about sidescrolling


  24. #2154
    Gutya
    Points: 15.093, Level: 79
    Level completed: 49%, Points required for next Level: 257
    Overall activity: 0%

    Registriert seit
    Feb 2006
    Beiträge
    2.398
    Points
    15.093
    Level
    79
    Downloads
    0
    Uploads
    0

    Standard

    Well maybe you should write one when you get more experience.
    D:

  25. #2155
    QJ Gamer Green
    Points: 6.520, Level: 52
    Level completed: 85%, Points required for next Level: 30
    Overall activity: 0%

    Registriert seit
    Nov 2005
    Ort
    Sweden
    Beiträge
    460
    Points
    6.520
    Level
    52
    Downloads
    0
    Uploads
    0

    Standard

    If a value is nil, and i would like to skip it.
    Like a picture blit, likte this:

    Code:
    if LoadLastSave == true then
    screen:blit(35, 117, LastSave, 0, 0, 238, 107, 0)
    elseif return false then
    screen:print(35, 117,"Coulden't load: " ..Name, black)
    end
    Is there any way to make this work?
    [CENTER]Some of my homebrew Applications/Games:
    [URL=http://forums.qj.net/showthread.php?t=47294&page=1&pp=10]Planet Fighter[/URL] | [URL=http://forums.qj.net/showthread.php?p=641672#post641672]Graphic Creator (V2.0)[/URL] | [URL=http://forums.qj.net/showthread.php?p=512717]Fire Pong[/URL] | [B][URL="http://forums.qj.net/f-psp-development-forum-11/t-release-brushes-v20-99207.html#post1430891"][COLOR="Red"][SIZE="3"]Brushes v2.0[/COLOR][/SIZE][/B][/URL] [URL="http://forums.qj.net/f-psp-development-forum-11/t-release-brushes-v20-99207.html"][B][SIZE="2"][COLOR="Black"]Released![/COLOR][/SIZE][/B][/URL]
    [URL="http://haxxblaster.2u.se/"][COLOR="black"][FONT="Arial Black"]www.HaxxBlaster.com[/FONT][/COLOR][/URL]

    [URL="http://forums.qj.net/f-psp-development-forum-11/t-release-brushes-v20-99207.html"][IMG]http://img19.imageshack.us/img19/1346/brushesbannerqz3.png[/IMG][/URL][/CENTER]

  26. #2156
    QJ Gamer Green
    Points: 13.310, Level: 75
    Level completed: 15%, Points required for next Level: 340
    Overall activity: 0%

    Registriert seit
    Dec 2005
    Ort
    Here
    Beiträge
    2.715
    Points
    13.310
    Level
    75
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von HaxxBlaster
    If a value is nil, and i would like to skip it.
    Like a picture blit, likte this:

    Code:
    if LoadLastSave == true then
    screen:blit(35, 117, LastSave, 0, 0, 238, 107, 0)
    elseif return false then
    screen:print(35, 117,"Coulden't load: " ..Name, black)
    end
    Is there any way to make this work?
    how about:

    Code:
    if LoadLastSave == true then
    screen:blit(35, 117, LastSave, 0, 0, 238, 107, 0)
    elseif LoadLastSave == false then
    screen:print(35, 117,"Coulden't load: " ..Name, black)
    end
    that should work
    [CENTER][IMG]http://img148.imageshack.us/img148/6985/siglw8.jpg[/IMG][/CENTER]

  27. #2157
    QJ Gamer Green
    Points: 6.520, Level: 52
    Level completed: 85%, Points required for next Level: 30
    Overall activity: 0%

    Registriert seit
    Nov 2005
    Ort
    Sweden
    Beiträge
    460
    Points
    6.520
    Level
    52
    Downloads
    0
    Uploads
    0

    Standard

    You don't even know the rest of the code.

    If i should have it like that, i have to have another "retrun if false"
    to check if it's not able to show, oterwise it will load it stright.
    [CENTER]Some of my homebrew Applications/Games:
    [URL=http://forums.qj.net/showthread.php?t=47294&page=1&pp=10]Planet Fighter[/URL] | [URL=http://forums.qj.net/showthread.php?p=641672#post641672]Graphic Creator (V2.0)[/URL] | [URL=http://forums.qj.net/showthread.php?p=512717]Fire Pong[/URL] | [B][URL="http://forums.qj.net/f-psp-development-forum-11/t-release-brushes-v20-99207.html#post1430891"][COLOR="Red"][SIZE="3"]Brushes v2.0[/COLOR][/SIZE][/B][/URL] [URL="http://forums.qj.net/f-psp-development-forum-11/t-release-brushes-v20-99207.html"][B][SIZE="2"][COLOR="Black"]Released![/COLOR][/SIZE][/B][/URL]
    [URL="http://haxxblaster.2u.se/"][COLOR="black"][FONT="Arial Black"]www.HaxxBlaster.com[/FONT][/COLOR][/URL]

    [URL="http://forums.qj.net/f-psp-development-forum-11/t-release-brushes-v20-99207.html"][IMG]http://img19.imageshack.us/img19/1346/brushesbannerqz3.png[/IMG][/URL][/CENTER]

  28. #2158
    QJ Gamer Green
    Points: 13.310, Level: 75
    Level completed: 15%, Points required for next Level: 340
    Overall activity: 0%

    Registriert seit
    Dec 2005
    Ort
    Here
    Beiträge
    2.715
    Points
    13.310
    Level
    75
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von HaxxBlaster
    You don't even know the rest of the code.

    If i should have it like that, i have to have another "retrun if false"
    to check if it's not able to show, oterwise it will load it stright.
    For people to help you, you have to tell them everything you believe they should know. :)

    As for the extra "return if false" code. Why not put it?
    [CENTER][IMG]http://img148.imageshack.us/img148/6985/siglw8.jpg[/IMG][/CENTER]

  29. #2159
    QJ Gamer Green
    Points: 6.520, Level: 52
    Level completed: 85%, Points required for next Level: 30
    Overall activity: 0%

    Registriert seit
    Nov 2005
    Ort
    Sweden
    Beiträge
    460
    Points
    6.520
    Level
    52
    Downloads
    0
    Uploads
    0

    Standard

    I am just asking if there is a "return" command that really works, i know everything else.

    I am asking for commands, not code.
    [CENTER]Some of my homebrew Applications/Games:
    [URL=http://forums.qj.net/showthread.php?t=47294&page=1&pp=10]Planet Fighter[/URL] | [URL=http://forums.qj.net/showthread.php?p=641672#post641672]Graphic Creator (V2.0)[/URL] | [URL=http://forums.qj.net/showthread.php?p=512717]Fire Pong[/URL] | [B][URL="http://forums.qj.net/f-psp-development-forum-11/t-release-brushes-v20-99207.html#post1430891"][COLOR="Red"][SIZE="3"]Brushes v2.0[/COLOR][/SIZE][/B][/URL] [URL="http://forums.qj.net/f-psp-development-forum-11/t-release-brushes-v20-99207.html"][B][SIZE="2"][COLOR="Black"]Released![/COLOR][/SIZE][/B][/URL]
    [URL="http://haxxblaster.2u.se/"][COLOR="black"][FONT="Arial Black"]www.HaxxBlaster.com[/FONT][/COLOR][/URL]

    [URL="http://forums.qj.net/f-psp-development-forum-11/t-release-brushes-v20-99207.html"][IMG]http://img19.imageshack.us/img19/1346/brushesbannerqz3.png[/IMG][/URL][/CENTER]

  30. #2160
    QJ Gamer Green
    Points: 13.310, Level: 75
    Level completed: 15%, Points required for next Level: 340
    Overall activity: 0%

    Registriert seit
    Dec 2005
    Ort
    Here
    Beiträge
    2.715
    Points
    13.310
    Level
    75
    Downloads
    0
    Uploads
    0

    Standard

    I'm sorry to say I dont know..
    [CENTER][IMG]http://img148.imageshack.us/img148/6985/siglw8.jpg[/IMG][/CENTER]


 

Tags for this Thread

Forumregeln

  • Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
  • Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
  • Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
  • Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.
  •  





Alle Zeitangaben in WEZ -8. Es ist jetzt 09:01 PM Uhr.

Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © , Caputo Media, LLC. All Rights Reserved. Cluster .