h1ama3d
Members-
Posts
20 -
Joined
-
Last visited
Everything posted by h1ama3d
-
function blablabla(row1, row2) lbl1 = guiCreateLabel(0,0,100,10, row1.." "..row2, false) lbl2 = guiCreateLabel(0,0,100,10, row1.." "..row2, false) lbl3 = guiCreateLabel(0,0,100,10, row1.." "..row2, false) labels = { lbl1, lbl2, lbl3, } end to hide all lables you can use for k,v in ipairs(labels) do guiSetVisible(v,false) end or if you want hide 1 label use guiSetVisible(labels[1],false)
-
help plz i wan't add new skin dff txd in basemode
h1ama3d replied to IIIIlllllIII's topic in Scripting
You Cant Replace DFF For skins you can replace TXD Only Or DFF For objects or cars ,, arabic : مآتقدر ياخوي ^.^ بس تقدر تبدل السيارات والاوبجكتات ,, او تقدر تبدل اللون للشخصية بس ,, تحيآتي -
fadeCamera(true) and delete this line killTimer(views.timer) i tested it ,, but it's stop in 1 view
-
h1ama3d not hmody فضحتنا -_-" see : https://wiki.multitheftauto.com/wiki/Cli ... _functions https://wiki.multitheftauto.com/wiki/AttachElements
-
you mean this ? setElementVelocity ( getPedOccupiedVehicle( player ), 0, 0.1, 0.5)
-
OK :@ He is Arabian, and I explain to him in Arabic
-
ذذ ,, وش بتبرمج ؟؟ >> بيتسطر امزح ذذ
-
I've done it, and the script is ready for use ^.^ thank you very much Citizen ! <3
-
Thanks guys, I tried another way instead of the EDF I Make a GUI window and has already succeeded Now, do I am a Noob or not? LoL http://store2.up-00.com/Mar11/uhX88029.jpg http://store2.up-00.com/Mar11/uhX88029.jpg but can i create button to Select the settings from the selected object? Thx Again ^.^
-
ok ,, i change it to setElementData(vcs1, "posZ", z or 100) and now over the EDF element I will try to make it tight EDF Element I have tried it, and I change it to carsh = getElementsByName ( "Carshade" ) but attempt to call global 'getElementsByName' (a nil value) Can you help me pls ? Or will lose hope: (
-
Check Elements: 3349.6772460938 , -1925.2801513672 , -2.3275413513184 , 20 , 5 , table: 02A49C28 x = 3309.162109375 y = -2029.51171875 z = -18.611539840698 ---------------------------------------------------------- very hard script yeah ,, i'am noob yeah ,, but i make it ! ,, i put() but it's Does not work also ! ----------- i don't understand what you mean >< sorry ,, in line 20 i put call(getResourceFromName("editor"),"import",thisResource) not getElementsByType()
-
stolen ?! I made this script If you want to make sure, search for it, you will not find: @ I hate steal: @ Line No. 20 I took him from ggloop only!! The rest that I made: @ If you do not want to help me, why comment? and if i put comma :20:Bad argument @ 'call'
-
Hello, I making script, It works, but I have only one problem, What script? : Script that I work, you can make a road from vgncarshade1 You can choose the pieces, and the distance between each piece, I have made the script for editor This is the code: Removed This is the EDF file: Removed But when I am Typing '/c' to make the road This is what is happening:( This is the EDF Element http://store2.up-00.com/Mar11/fL100715.jpg This is the Road, http://store2.up-00.com/Mar11/8QM00715.jpg Under water! why ? pls help me sorry For my Bad English and sorry i'am noob
-
Oh .. that is working .. thank you famas ..
-
Hello .. I want help please .. I found this code .. In Wikipedia .. function addHelmetOnEnter ( thePlayer, seat, jacked ) if ( getElementModel ( source ) == 522 ) then -- if its a nrg addPedClothes ( thePlayer, "moto", "moto", 16 ) -- add the helmet end end addEventHandler ( "onVehicleEnter", getRootElement(), addHelmetOnEnter ) function removeHelmetOnExit ( thePlayer, seat, jacked ) if ( getElementModel ( source ) == 522 ) then -- if its a nrg removePedClothes ( thePlayer, 16 ) -- remove the helmet end end addEventHandler ( "onVehicleExit", getRootElement(), removeHelmetOnExit ) But I want add a variable .. To be code on all bikes But it did not work .. This is the code : bikes = { "522" , "481" , "581" , "462" , "521" , "463" , "523" , "461" , "448" , "468" , "586" , "471" , "509" , "510" } function addHelmetOnEnter ( thePlayer, seat, jacked ) if ( getElementModel ( source ) == bikes ) then -- if its a Bike addPedClothes ( thePlayer, "moto", "moto", 16 ) -- add the helmet end end addEventHandler ( "onVehicleEnter", getRootElement(), addHelmetOnEnter ) function removeHelmetOnExit ( thePlayer, seat, jacked ) if ( getElementModel ( source ) == bikes ) then -- if its a Bike removePedClothes ( thePlayer, 16 ) -- remove the helmet end end addEventHandler ( "onVehicleExit", getRootElement(), removeHelmetOnExit ) Sorry I am a noob >< Please I want help ..
-
The problem has been detected .. Code only works in the Race I did not know before .. I'm sorry .. I hope the moderators close the topic .. Thank you ..
-
i have created a new script And i put the code inside .. But the same problem Please try the code and explore the error .. Thank you
-
Yeah .. I mean The message show two times! Is there a way to hide the original message? (Thank you to try to help)
-
Hello .. I have a problem in My Script .. I want to use colors in chat By using this code .. function onChat ( message, messageType ) if messageType == 0 then local root = getRootElement() cancelEvent() outputChatBox ("#ffff00".. getPlayerName ( source ) .. ": #ff00ff" .. message, root, 255, 0, 0, true ) end end addEventHandler ( "onPlayerChat", getRootElement(), onChat ) But it does not work .. This is what shown when i use the chat there is two messages how to hide to original mesage? Please help me (Sorry for the bad English)