Jump to content

BiSolpos

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About BiSolpos

  • Rank
    I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.
  1. Hello My code gives this error, what is the problem? Bad argument @ 'getPedOccupiedVehicle' [Expected ped at argument 1, got string 'Quit'] Bad argument @ 'getElementID' [Expected element at argument 1, got boolean] Code Server function ExitCar (thePlayer, seat, jacked) local theVehicle = getPedOccupiedVehicle (thePlayer) local vehid = getElementID (theVehicle) if vehid == "1" or vehid == "2" or vehid == "3" or vehid == "4" or vehid == "5" or vehid == "6" then if getElementData(thePlayer, "onMark") then if seat == 0 then destroyElement(getElementData(thePlayer, "
  2. @Patrick I looked but it did not work code html function login() { var UsernameValue = document.getElementById("UsernameInput").value; var PasswordValue = document.getElementById("PasswordInput").value; var CheckValue = document.getElementById("loginSave").checked; mta.triggerEvent("Login", UsernameValue, PasswordValue, CheckValue); } code lua client function Login(UsernameValue, PasswordValue, CheckValue) username = tostring(UsernameValue) password = tostring(PasswordValue) UsernameValue = nil PasswordValue = nil CheckValue = nil triggerServerEvent("attempt
  3. Hello I have created a login page How can I receive the value of the HTML checkbox in Lua to store the name and password? Thank you
×
×
  • Create New...