Jump to content

orel56000

Members
  • Posts

    83
  • Joined

  • Last visited

Everything posted by orel56000

  1. if i have a file and in this file this writed: UserName = asd Password = 123123 how to find the password?
  2. you can help me with this command? i dont understand how to use it..
  3. half of my code must to be in client side, how i can move only this function to server side and it will work?
  4. its working on client side, but it cannot be founded on resouces i also created a function who checking if the file is exist and its say yes, but i cannot see it..
  5. orel56000

    fileCreate

    local newFile = fileCreate("test.txt") -- attempt to create a new file if (newFile) then -- check if the creation succeeded fileWrite(newFile, "This is a test file!") -- write a text line fileClose(newFile) -- close the file once you're done with it end working on server side but doesen't working on client side and its sheared function command, why?
  6. I care alot about these small stuffs and you're welcome. thanks mate
  7. thanks working btw how did you saw the outPut ? lol
  8. function clickedregister() local username = guiGetText(registere[1]) outputChatBox(username) local usercheck = fileOpen(username) if usercheck then fileClose(usercheck) outputChatBox("This account is already registered!") else outPutChatBox("Ready to reigster!") end end addEventHandler("onClientGUIClick",registerb[1],clickedregister) Its outputting only this: outputChatBox(username) thanks for helpers
×
×
  • Create New...