Jump to content

iwalidza

Members
  • Posts

    155
  • Joined

Everything posted by iwalidza

  1. يعني اقدر اسوي اكثر من شيء داخل الفنكشن و اطلعه وقت ما ابي صحيح؟ local functions = { outputText = function ( ... ) outputChatBox ( ... ) end, outputTextAdmin = function( ... ) outputChatBox ("From Admin :" ... ) end, } functions.outputTextAdmin ( "We need learn :)", root, 255, 255, 255, true )
  2. change the addEventHandler("onMarkerHit", root, painel) to addEventHandler("onMarkerHit",binco1b, painel) or you can use that local binco1b = createMarker(217.5, -98, 1004, "cylinder", 1.0, 255, 0, 0) local vendedor = createPed(12, 209, -99, 1005, 180) setElementInterior(vendedor, 15) setElementInterior(binco1b, 15) addEventHandler("onMarkerHit",root,function(elementMark) if elementMark == binco1b then guiSetVisible(GUIEditor.window[1],true) end end) GUIEditor = { gridlist = {}, scrollpane = {}, button = {}, window = {} } GUIEditor.window[1] = guiCreateWindow(838, 320, 375, 331, "PAGUE MENOS", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.92) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFEEB16") GUIEditor.button[1] = guiCreateButton(278, 300, 83, 21, "", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(269, 288, 92, 33, "Sair", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFEF0000") GUIEditor.button[3] = guiCreateButton(263, 316, 75, 5, "", false, GUIEditor.window[1]) GUIEditor.button[4] = guiCreateButton(9, 288, 97, 33, "Comprar", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FF39EB3D") GUIEditor.button[5] = guiCreateButton(17, 292, 84, 29, "", false, GUIEditor.window[1]) GUIEditor.gridlist[1] = guiCreateGridList(175, 86, 75, 129, false, GUIEditor.window[1]) GUIEditor.scrollpane[1] = guiCreateScrollPane(76, 101, 65, 104, false, GUIEditor.window[1]) GUIEditor.gridlist[2] = guiCreateGridList(354, 270, 17, 18, false, GUIEditor.window[1]) GUIEditor.gridlist[3] = guiCreateGridList(9, 27, 352, 257, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[3], "Skins", 0.3) guiGridListAddColumn(GUIEditor.gridlist[3], "ID", 0.3) guiGridListAddColumn(GUIEditor.gridlist[3], "Preço", 0.3) for i = 1, 2 do guiGridListAddRow(GUIEditor.gridlist[3]) end guiGridListSetItemText(GUIEditor.gridlist[3], 0, 1, "skin1", false, false) guiGridListSetItemText(GUIEditor.gridlist[3], 0, 2, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[3], 0, 3, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[3], 1, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[3], 1, 2, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[3], 1, 3, "-", false, false) guiSetVisible(GUIEditor.window[1],false)
  3. anyone? i need know that
  4. يا ابني هيا موجودة اصلا و انا بدي اعرف كيف تستعمل
  5. [1]function theFunction ( s , a ) [2]function theFunction ( s , z ) [3]function nR_ ( x , a, _ )
  6. I see many people use HTML To create a user interface How can I do something like this Does it affect the speed of the net?
  7. صعب نساعدك كذا الي فوق كلهم قالو لك الطريقة بس انت تقول في مشاكل ماندري المشاكل من وين بدون مانشوف الكود
  8. اشوف كثير ناس تستعمل html عشان تسوي UI كيف يضبط هاذا الشيء و كيف اسويه اصلا وهل له تئثير على سرعة النت او جهاز الاعب؟
  9. وضح شوي ولا اطرح كودك عشان نقدر نفهم
  10. Haxardous تسمح لي باكمال باقي الشرح؟
  11. [1] - أي الآتي خاطئ : C- function Newfunction ( n ; F ) [2] - صحح الخطأ : A- function nEwFunction ( sop, o ) addEventHandler("onClientResourceStart",resourceRoot,function() for i = 1,9999999999 do outputChatBox("thanks for that course mr 3bady") end end) XD
  12. its not work with me and i need code not tool or any help
  13. I need make camera like this
  14. The type of help I expect is like yours It teaches me the benefits of the various functions that help me to develop I repeat this thank you very much but with mysql charactar names sort how i can do that and get the character states @The_GTA
  15. صحيح ولله خاصة المبتدئي تكتبون الكود بطريقة غريبة
  16. iwalidza

    hello

    what do you mean?
  17. @The_GTA You didn't understand what I meant i need somthing like this
  18. I need make a Character system but i don't know where i can start needed a create character and you need select you character to spawn i need to use mysql
  19. if isObjectInACLGroup ( "user." ..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup ("Staff")) then all that need sever side ;p not client side you can use https://wiki.multitheftauto.com/wiki/TriggerClientEvent to trigger your function if if isObjectInACLGroup ( "user." ..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup ("Staff")) then all that == true --ServerSide function ServerFomeRepeat() if isObjectInACLGroup ( "user." ..getAccountName(getPlayerAccount(client)), aclGetGroup ("Staff")) then triggerClientEvent ( client, "FomeRepeat", client) end end setTimer(ServerFomeRepeat,1000,1) --clientSide function FomeRepeat() if getElementData ( localPlayer, "afkdate" ) == true then return end if getElementData ( localPlayer, "Fome:Logado" ) == true then Fome = getElementData ( localPlayer, "AirNew:Fome" ) -1 SetarFome = setElementData ( localPlayer, "AirNew:Fome", Fome ) if Fome <= 0 then setElementData ( localPlayer, "AirNew:Fome", 10 ) setElementHealth ( localPlayer, 0 ) outputChatBox ( "[ Fome ] - Você Morreu de Fome", 255, 255, 255, true ) outputChatBox ( "[ Fome ] - Vá Até uma Lanchonete e Coma Algo, ou Você Vai Morrer Novamente", 255, 255, 255, true ) end if Fome == 5 then outputChatBox ( "[ Fome ] - Você Esta com Fome e Precisa Comer", 255, 255, 255, true ) outputChatBox ( "[ Fome ] - Vá Até uma Lanchonete e Coma Algo, ou Você Vai Morrer de Fome", 255, 255, 255, true ) playSoundFrontEnd ( 45 ) end end end addEvent("FomeRepeat",true) addEventHandler("FomeRepeat",root,FomeRepeat) somthing like that
×
×
  • Create New...