Jump to content

3B00DG4MER

Members
  • Posts

    512
  • Joined

  • Last visited

Everything posted by 3B00DG4MER

  1. Plz before trying to help read my request i need help with triggering Event with a table from Server to Client !
  2. addNewID function will be very helpful !!
  3. Server : function onLogin(username,password,checkboxState) local query = dbQuery(getSQLConnection( ), "SELECT `??` FROM `??` WHERE `??` = '??' LIMIT 1", "id", "accounts", "username", username) if (query) then local result, num_affected_rows, errmsg = dbPoll(query, -1) if (num_affected_rows > 0) then local query = dbQuery(getSQLConnection( ), "SELECT * FROM `??` WHERE `??` = '??' AND `??` = '??' LIMIT 1", "accounts", "username", username, "password", sha256(string.upper(password))) if (query) then local result, num_affected_rows = dbPoll(query, -1) -- Here is the table (Result) if (num_affected_rows > 0) then triggerClientEvent(source,"showCharecters",getRootElement(),result) -- Here i would trigger it ! end else triggerClientEvent(source,"changeMessage",getRootElement(),"1","Wrong username and/or password", "red") outputServerLog("Error: " .. getPlayerName(source) .. " tried to log in, but failed due to an unknown username and/or password.") end else outputServerLog("Error: MySQL query failed (" .. getPlayerName(source) .. ").") end else triggerClientEvent(source,"changeMessage",getRootElement(),"1","The Username you're trying to login with,Doesn't Exist", "red") outputServerLog("Error: " .. getPlayerName(source) .. " tried to log in, but failed due to an unknown username and/or password.") end end end
  4. Hi Guys, i need help with triggering Event with a table from Server to Client ! i need really help !!
  5. Hi MTA:SA Admins ! i saw the MTA:SA TCT - TerrainEdit it's says that it will be inculeded in MTA:SA 1.4 viewtopic.php?f=98&t=69316 Please include it Plz !!
  6. i didn't call the json module the json.lua calls the module PLEASE I CAN'T FOUND THE FUCKING MODULE give me the url and NOT GOOGLE SEARCH
  7. The last one Looks Cool ! Good Job !
  8. it's says Attempt to call global 'Module' (a nil value) Which module did you add? O_o Did you define the script in meta? json.lua file i added it on meta it's wrotten module("json")
  9. it's says Attempt to call global 'Module' (a nil value)
  10. Yo help me Please ! i added Jsons Module what now ? Now use the json decode function to convert the json string into a table. Wait Wait how i can add Json Module i can't find it in the internet(It was Mysql Module and not Json )
  11. Yo help me Please ! i added Jsons Module what now ?
  12. Hi Guys, Today i wanted to make a table which has got all type of Skins in GTA but i've a small problem how i can count all rows in the table ?! like this one ? : local skins = { [1] = {1, 2, 23, 26, 27, 29}, in here we've got 6 rows
  13. I know only some of PHP can you help me ! Please !
  14. Hi Guys, today i found an Youtube API but i don't know how do i use them in-game Please i need a help (I don't have any idea how to use an API) https://developers.google.com/youtube/v ... earch/list
  15. YOU'RE USING A LEAKED SCRIPT SERVER WE CAN'T HELP YOU
  16. [quote name=..&G:..]I KNOW! So, We're Sorry we can't help you if u have leaked scripts Try to make ur own one !
  17. [quote name=..&G:..]Well basicly, he has a roleplay server that uses leaked scripts. I think too
  18. Show us your code i think i can help !
  19. Stolen : https://community.multitheftauto.com/ind ... s&id=10493 Original : https://community.multitheftauto.com/ind ... ls&id=7449 DONE
  20. It's works i've to wait a moment only
×
×
  • Create New...