
mcer
Members-
Posts
145 -
Joined
-
Last visited
Everything posted by mcer
-
Read it for more information: https://wiki.multitheftauto.com/wiki/GuiGetScreenSize
-
yeah but use the ScreenH and ScreenW.
-
/debugscript 3 Only with one space, Do it in-game window.
-
Use /debugscript 3 and see where is the problem.
-
Put the label in a GUI WINDOW and set the alpha of the window to 0.
-
You can't use a similar " guiSetText" Function to the dxTexts. (Doesn't exist) You need to change a lot of things.
-
guillabel is for GUI's Windows
-
Error here guiSetText( playerListLabels[1][4], "woo" ) playerListLabels[1][4] / ERROR Replace with playerListLabels[i][4]
-
It worked fine for me too.
-
WTF?, i tested it in another monitor and works.
-
Open Freeroam zip Open fr_server.lua Go to the line 60 Change SpawnMe = True, To SpawnMe = false, Save the script U done To add new spawnpoint use this https://wiki.multitheftauto.com/wiki/SpawnPlayer
-
I created an example Right Bottom for all resolutions addEventHandler("onClientResourceStart", resourceRoot, function() local screenW, screenH = guiGetScreenSize() Example = guiCreateLabel(screenW - 578 - 10, (screenH - 91) - 20, 578, 91, "EXAMPLE", false) guiSetFont(Example, "sa-gothic") end )
-
I going to make it for u, Tell me your screen resoulution.
-
We have u the answer, Try to use the position presets of "Set Position Code" function and see how it works
-
use this resource, and use "set position code" for your guiwindow or DXtext, etc. I forgot the link sorry https://community.multitheftauto.com/in ... ils&id=141
-
use this resource, and use "set position code" for your guiwindow or DXtext, etc.
-
Try with this: Note: I deleted "wheel_sr6.dff" because u repeated the model 1073 And i fixed another errors... Clientside function CreateNewWheels() dff = engineLoadDFF ( "wheel_lr1.dff", 1077 ) engineReplaceModel ( dff, 1077 ) dff = engineLoadDFF ( "wheel_lr2.dff", 1083 ) engineReplaceModel ( dff, 1083 ) dff = engineLoadDFF ( "wheel_lr3.dff", 1078 ) engineReplaceModel ( dff, 1078 ) dff = engineLoadDFF ( "wheel_lr4.dff", 1076 ) engineReplaceModel ( dff, 1076 ) dff = engineLoadDFF ( "wheel_lr5.dff", 1084 ) engineReplaceModel ( dff, 1084 ) dff = engineLoadDFF ( "wheel_sr1.dff", 1079) engineReplaceModel ( dff, 1079 ) dff = engineLoadDFF ( "wheel_sr2.dff", 1075 ) engineReplaceModel ( dff, 1075 ) dff = engineLoadDFF ( "wheel_sr3.dff", 1073 ) engineReplaceModel ( dff, 1073 ) dff = engineLoadDFF ( "wheel_sr4.dff", 1081 ) engineReplaceModel ( dff, 1081 ) dff = engineLoadDFF ( "wheel_sr5.dff", 1080 ) engineReplaceModel ( dff, 1080 ) dff = engineLoadDFF ( "wheel_gn1.dff", 1082) engineReplaceModel ( dff, 1082 ) dff = engineLoadDFF ( "wheel_gn2.dff", 1085 ) engineReplaceModel ( dff, 1085 ) dff = engineLoadDFF ( "wheel_gn3.dff", 1096) engineReplaceModel ( dff, 1096 ) dff = engineLoadDFF ( "wheel_gn4.dff", 1097 ) engineReplaceModel ( dff, 1097 ) dff = engineLoadDFF ( "wheel_gn5.dff", 1098 ) engineReplaceModel ( dff, 1098 ) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), CreateNewWheels) XML FILE I seen here u typed "Scrypt", is that correct?. Replace all XML file with this and change the name of the script if it isn't correct <meta> <info author="Minotaur" name="Wheels" version="1.0.0" type="script"/> <script src="scrypt.lua" type="client" /> <file src="wheel_lr1.dff" type="client"/> <file src="wheel_lr2.dff" type="client"/> <file src="wheel_lr3.dff" type="client"/> <file src="wheel_lr4.dff" type="client"/> <file src="wheel_lr5.dff" type="client"/> <file src="wheel_gn1.dff" type="client"/> <file src="wheel_gn2.dff" type="client"/> <file src="wheel_gn3.dff" type="client"/> <file src="wheel_gn4.dff" type="client"/> <file src="wheel_gn5.dff" type="client"/> <file src="wheel_sr1.dff" type="client"/> <file src="wheel_sr2.dff" type="client"/> <file src="wheel_sr3.dff" type="client"/> <file src="wheel_sr4.dff" type="client"/> <file src="wheel_sr5.dff" type="client"/> <file src="wheel_sr6.dff" type="client"/> <file src="wheel_or1.dff" type="client"/> <file src="J2_wheels.txd" type="client"/> <file src="veh_mods.ide" /> </meta> </meta>
-
i used that, But i want when the player have less than 20 of health the anim start.
-
Same problem. Repeat in less than a second, is not expected until the end of the animation. The loop argument will repeat it after it ended. I know, but i have this problem with or without "true"
-
Example: The animation duration is 5 seconds It is repeated at the second 0.2
-
Same problem. Repeat in less than a second, is not expected until the end of the animation.
-
See the code function playerDamagehelp() local getdamage = getElementHealth ( getLocalPlayer() ) if getdamage < 21 then local playeranimdamage = getLocalPlayer() setPedAnimation( playeranimdamage, "beach", "bather") else local playeranimdamages = getLocalPlayer() setPedAnimation(playeranimdamages,false) end end addEventHandler("onClientRender", getRootElement(), playerDamagehelp)