-
Posts
589 -
Joined
-
Last visited
Everything posted by mjau
-
A . A review of NZXT SENTRY LXE External Fan Control Q Wich video you last watched ?
-
A Ntohing Q. You ?
-
Well dont call us stupid since we see whats wrong but we told you what to do and you just say "Fix it" There is no such function as playclientaudio .... for triggering use triggerServerEvent and triggerClientEvent and just because u said im stupid u can search for the playaudio function there yourself... https://wiki.multitheftauto.com/wiki/Main_Page
-
Solidsnake he tought he needed XML to login register part but mta aleready has a datbase for that so no XML needed...
-
So you just need a panel because mta aleready hase a database for that Example of login /Register code i removed the gui ... Server function loginHandler(player, username, password) local account = getAccount(username, password) if (account ~= false) then if (logIn(player, account, password) == true) then outputChatBox("Login Sucess", player) triggerClientEvent (player, "hideLoginWindow", getRootElement()) else triggerClientEvent (player, "unknownError", getRootElement()) end else triggerClientEvent (player, "loginWrong", getRootElement()) end end function registerHandler(player, username, password) local account = getAccount(username, password) if (account ~= false) then triggerClientEvent(player, "registerTaken", getRootElement()) else account = addAccount(username, password) if (logIn(player, account, password) == true) then outputChatBox("Register Sucess!", player) triggerClientEvent(player, "hideLoginWindow", getRootElement()) else triggerClientEvent(player, "unknownError", getRootElement()) end end end addEvent("submitLogin", true) addEvent("submitRegister", true) addEventHandler("submitLogin", root, loginHandler) addEventHandler("submitRegister", root, registerHandler) Client function clientSubmitLogin(button, state) if button == "left" and state == "up" then local username = guiGetText(GUIEditor_Edit[1]) local password = guiGetText(GUIEditor_Edit[2]) if username and password then triggerServerEvent("submitLogin", getRootElement(), localPlayer, username, password) end end end function clientSubmitRegister(button, state) if button == "left" and state == "up" then local username = guiGetText(GUIEditor_Edit[1]) local password = guiGetText(GUIEditor_Edit[2]) if username and password then triggerServerEvent("submitRegister", getRootElement(), localPlayer, username, password) end end end
-
A Maybe Q Do you ?
-
Well the max 3D thing it might be the same as txdworkshop that it gets pickt up by avg resident shield happent to me all the time without warning me i made a exeption for it now txd woekshop works ... Just a guess ...
-
Try yourself use wiki search for the functions i gave you then paste your code here and we will help
-
Well there is no function named playClientAudio and for the bindkey thing use triggerClientEvent
-
It will have settings so you can disable and enable any button,tab, or function you want so it will suite all gamemodes What it has: Login Tab General Tab(Shows all info plus some other functions) Buy Superpowers tab Buy Weapons Tab Helptab All of theese can be disabled in the settings part
-
Ah ok well i never worked with more advanced xml than one node so i think u should wait for someone else than me to answer
-
Hm well i i will upload new tomorrow ...
-
Thanks castillo now i understand XDD i see what i said made no sense now sorry for it... But idk what the probelm is here im a bit to tired now since i dont understand a shit
-
What im not trying to increase my stupid post count ... and im not making fun of you but for a normal login panel you dont need a xml file to store them ...
-
Oh ok ... EDIT: Why do you need that ?
-
You want to get the account info so you can read it ?
-
Well thats not needed acl.xml is acces control list wich means eaxample supermoderator, admin , etc
-
What ?? why are you loading acl.xml ?
-
Me killed GodFather (Unknown)
-
i can maybe retexture some cars ...but im not modeler like .dff extensions ...
-
Well remove hex codes i think its some kind of string.gsub but really i never tried that ...
