LabiVila
Members-
Posts
272 -
Joined
-
Last visited
Everything posted by LabiVila
-
Hello all, I won't post all the script because I think it's not useful, I've got the button here and: client-side yourname = getPlayerName (getLocalPlayer()) challb = guiCreateButton (0.65, 0.80, 0.30, 0.15, "Challenge", true, PVPw) function buttonCLICK (button) if (button == "left") then triggerServerEvent ("message", localPlayer, yourname , buttonCLICK) end end addEventHandler ("onClientGUIClick", challb, buttonCLICK, false)) how should I do that when I click the challb button, a server-side message appears to everyone in the server saying anything (not important) ? I know it's somehow with triggerServer/ClientEvent but not sure how to use it. I'd be grateful if someone writes the full script.
-
Hello and thanks for taking time to read this topic. in GUI, I can create a guiEdit inside a guiWindow, is there anyway I can create a space to write what do you want inside a dxRectangle? Thanks.
-
Yes, I already know that but how can I export the text to an xml file?
-
Hello: I have a button, and 2 guiCreateEdits (user and pass) How to make this: When I write something in user and pass, than I click the button, the button have to export the username and password text to an xml file (accounts)?
-
Thank you so much, both. Done thanks to you.
-
function teams () teams = createTeam ("Test", 0, 255, 0) end addEventHandler ("onResourceStart", resourceRoot, teams) I want to make this: If the player hauls the test tag (for example test|LabiVila), that player should automatically move to the Test team. Any help would be appreciated so much, thank you further.
-
Could you possibly add the Albanian language?
-
Thank you so much.
-
Hello; recently, I started making a health bar but I can not pass a problem; can you post below some commands which will update the health-bar everytime I get a damage?
-
Yes, exactly that, but I don't know how to get the usernameEdit and passwordEdit text when you click Register. I tried every way I know (with the triggerClientEvent) but it didn't work. If you know a better and easier way of making a register, could you please tell me?
-
Hello; The server-side the client-side Everything is working fine so far. But can you guys tell me how can I get the usernameEdit and passwordEdit from the client-side to server-side? I don't want to replace with the existing xml file (accounts.xml). I want to put it a child down to accounts.xml, informations. This is the way I want to make a register-window. I would appreciate too if you would tell me an easier way to register. (I am a newbie)
-
Thank you so much. A quick and awesome answer. Thank you.
-
Hello; I am so close to finish my login panel, and the only thing I need now is replacing password from fonts to ****. Could you help me a bit?
-
Yes, worked perfect, thank you so much. I appreciate your effort.
-
Look, I just don't want for that script up to run when the server starts, I wanna make it show by typing f1 or so. When I connect to the server, this window (mainwindow) shows automatically and all the other things up (it's like a log-in, when we connect, we can see it without binding anything). I don't want this script like that, I don't know how much am I clear.
-
Hello, as the Subject says, I need a bit help. I am a newbie in here so I flounder in a problem, --GENERAL local mainwindow = guiCreateWindow (0.25, 0.25, 0.50, 0.50, "Userpanel", true) local tabPanel = guiCreateTabPanel (0.00, 0.10, 1.00, 1.00, true, mainwindow) local info = guiCreateTab("Informations", tabPanel) local shop = guiCreateTab("Maps shop", tabPanel) local credits = guiCreateTab ("Credits", tabPanel) guiWindowSetMovable (mainwindow, false) guiWindowSetSizable (mainwindow, false) showCursor (true ) --INFO guiCreateLabel (0.05, 0.05, 0.90, 0.90, "My nickname: ".. tostring (getPlayerName (localPlayer)), true, info) guiCreateLabel (0.05, 0.25, 0.90, 0.90, "My ping: ".. tostring (getPlayerPing (localPlayer)), true, info) guiCreateLabel (0.05, 0.45, 0.90, 0.90, "My money: $".. tostring (getPlayerMoney (localPlayer)), true, info) guiCreateLabel (0.05, 0.65, 0.90, 0.90, "My team: ".. tostring (getPlayerTeam (localPlayer)), true, info) guiCreateLabel (0.05, 0.85, 0.90, 0.90, "My serial: ".. tostring (getPlayerSerial (localPlayer)), true, info) --SHOP, unfinished! guiCreateLabel (0.03, 0.03, 0.90, 0.90, "Which map would you like to play?", true, shop) guiCreateLabel (0.60, 0.07, 0.90, 0.90, "A map's price is:", true, shop) money = guiCreateLabel (0.80, 0.15, 0.90, 0.90, "5000$", true, shop) guiLabelSetColor ( money, 0, 140, 255) memo = guiCreateMemo (0.03, 0.10, 0.50, 0.85, "", true, shop) guiMemoSetReadOnly (memo, true) I am running the server in a Hamachi. Everytime I use /start myserver (based on wiki.multitheftauto.com/scriptingintro), this script starts. I don't want this script to start when I turn on my server. Regards, LabiVila.
-
Hi everyone. Well, while I was creating my first script, I made at last 60% and now I am trying to make a CLOSE Button. I've already created the BUTTON that says: CLOSE but can not manage it. I want to make it when I click on it, to dissapear everything. Can you guys help me please? Thanks, LabiVila
-
U should use shaders for this... I''ll try this too, thanks
-
So nice idea, I think I have to do this one
-
Won't work... however, ty.
-
Hey, i would be glad if you will tell me a way to make a blurred background. I've already created the script (window) but wanna design it a bit.