Jump to content

Sky4D

Members
  • Posts

    6
  • Joined

  • Last visited

Details

  • Gang
    None

Sky4D's Achievements

Vic

Vic (3/54)

0

Reputation

  1. I've actually figured it out, it's because I haven't made a Unique ID system yet, so it literally cannot work. It was for a /goto command.
  2. Hi, i'd like to thank the active users on this forum for helping me with all my problems.. well, now onto my current problem. (X_X) Error: The code on that line: local x,y,z = getElementPosition(thePlayer)
  3. Sky4D

    GUI Problems

    Could you please explain a bit more? (Same to the user above, sorry for not quoting you) I'm new to the whole idea of "resources", so I don't really know. I'll check the wiki though for a bit more information.
  4. Sky4D

    GUI Problems

    Well, i'm having a problem with GUIs lately as i'm starting to work with them more.. I can't get the darn things to work! My code: guiSetVisible(wdwselector, true) The error: I have absolutely no idea what this means, i'm setting it to true, so it shouldn't be a nil value. Any help? Thanks.
  5. I'm sorry about my descriptions, i'm not the best at describing via text. I'm testing your code, even though i'm positive it will work. EDIT: It worked, thank you very much.
  6. Yeah, i'm having quite a problem here, and I can't figure out how to fix it. I've made this command to have the syntax: /givecash [name] [amount], but it's not working how I thought it would. I've transferred from SA:MP & PAWNO, so this is pretty difficult for me. Any help is appreciated. function GivePlayerMoney(thePlayer, command, amount) if(amount <= 500) then givePlayerMoney(thePlayer, amount) else if(amount > 500) then outputChatBox("Invalid amount. (Amount is greater than $500)") end end end addCommandHandler("givecash", GivePlayerMoney)
×
×
  • Create New...