-
Posts
2,382 -
Joined
-
Last visited
-
Days Won
57
Everything posted by iMr.WiFi..!
-
يفضل تقول سويته ببعض المساعدة !,
-
شرايك تجرب الكود ذذ ؟ bindKey("x","down", function() local x,y,z = getElementPosition(source) nn = createVehicle (411,x,y,z) warpPedIntoVehicle(source,nn) end ) وحطه في الكلينت ولا تسوي دافور انه لازم سيرفر
-
حطه في الكلينت ي عبقري @
-
حياك الله اي مساعدة تفضل ,نساعدك
-
اطرح الاكواد كاملة احس انه في مشكلة ’ في اكوادك '
-
جرب addCommandHandler ( "c.c", function () triggerServerEvent("OpenWin",localPlayer) end ) addEvent("Open",true) addEventHandler("Open", root, function() guiSetVisible (window,not guiGetVisible (window)) showCursor (guiGetVisible (window)) end )
-
-- Client side bindKey("C",'down', function () triggerServerEvent("OpenWin",localPlayer) end ) addEvent("Open",true) addEventHandler("Open", root, function() if guiGetVisible(wnd) == false then guiSetVisible(wnd, true) showCursor(true) else guiSetVisible(wnd, false) showCursor(false) end end ) -- Server Side addEvent("OpenWin",true) addEventHandler("OpenWin", root, function ( ) if isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( source ) ),aclGetGroup ("Console") ) then triggerClientEvent ( source,"Open",source ) else outputChatBox("you are not Console") end )
-
-- Client Side bindKey("C",'down', function () triggerServerEvent("OpenWin",localPlayer) end ) addEvent("Open",true) addEventHandler("Open", root, function() if guiGetVisible(wnd) == false then guiSetVisible(wnd, true) showCursor(true) else guiSetVisible(wnd, false) showCursor(false) end end ) --Server Side addEvent("OpenWin",true) addEventHandler("OpenWin", root, function ( Player ) if isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( Player ) ),aclGetGroup ("Console") ) then triggerClientEvent ( Player,"Open",Player ) else outputChatBox("you are not Console") end )
-
وين المشكلة ههنا .؟ local playerS = getPlayerMoney(source) if playerS >= edit then
-
الحين انت تبينا نضيف سكين ولا شلون ؟ مافهمتك
-
تمت الافادة من قبل دابل .. يرجى حذفف الاكواد منشان ماحد يزرف ,,
-
الحين انت قلي وش الفرق ي @ٍSaedAmer
-
طيب جرب المثال الاول وبعدين خل ال E كبيتل
-
جرب ذذ Private Sub button1_Click(ByVal Sender As) Dim u_nameAs String Dim U_B_D As Date Dim U_Gender As Boolean Dim U_C_F As Ingeger u_name = TextBox1.Text U_B_D = TextBox2.Text If RadioButton1.Checked == True U_Gender = True else U_Gender = False end او ذا Private Sub button1_Click(ByVal Sender As Dim u_nameAs String Dim U_B_D As Date Dim U_Gender As Boolean Dim U_C_F As Ingeger u_name = TextBox1.Text U_B_D = TextBox2.Text If RadioButton1.Checked == True U_Gender = True else U_Gender = False end )
-
اذا سيرفر خلة كذا outputChatBox ( "#[TeamsSysteam] " .. getPlayerName(plr) .. ", Updated Your car color.", 255, 255, 0, true ) واذا كلينت خله كذا outputChatBox ( "#[TeamsSysteam] " .. getPlayerName(source) .. ", Updated Your car color.", 255, 255, 0, true )
-
local key = "m" GUIEditor = { gridlist = {}, window = {}, button = {} } addEventHandler("onClientResourceStart", resourceRoot, function() local screenW, screenH = guiGetScreenSize() GUIEditor.window[1] = guiCreateWindow((screenW - 468) / 2, (screenH - 436) / 2, 468, 436, "xX[Police Panel | لوحة الشرطي]Xx", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF0012FE") guiSetVisible (GUIEditor.window[1],false) GUIEditor.button[1] = guiCreateButton(274, 32, 172, 35, "xX[slap|سلاب]Xx", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFC70009") GUIEditor.button[2] = guiCreateButton(274, 101, 172, 35, "xX[Destroy Vehicle | سحب السيارة]Xx", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFC70009") GUIEditor.gridlist[1] = guiCreateGridList(14, 27, 235, 389, false, GUIEditor.window[1]) Column = guiGridListAddColumn(GUIEditor.gridlist[1], "Player", 0.9) changeGridListItemToPlayersName( GUIEditor.gridlist[1], Column ) GUIEditor.button[3] = guiCreateButton(377, 358, 19, 16, "", false, GUIEditor.gridlist[1]) GUIEditor.button[4] = guiCreateButton(286, 381, 172, 35, "xX[Close Window|اغلاق النافذة]Xx", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFC70009") end ) function Show_Hide() if guiGetVisible(GUIEditor.window[1]) == false then guiSetVisible(GUIEditor.window[1], true) showCursor(true) else guiSetVisible(GUIEditor.window[1], false) showCursor(false) end end bindKey(key,"down",Show_Hide) addEventHandler("onClientGUIClick",root, function () if source == GUIEditor.button[4] then if(guiGetVisible(GUIEditor.window[1]) == false)then end guiSetVisible(GUIEditor.window[1],false) showCursor(false) guiSetInputEnabled(false) end end) changeGridListItemToPlayersName = function ( GridList, Column ) if GridList and Column then -- Check Parematers if getElementType ( GridList ) == "gui-gridlist" then -- Check The Type of ' GridList ' if guiGridListClear ( GridList ) then -- Clear GridList for i, v in next, getElementsByType ( "player" ) do -- Get Everything by Type ' player ' local Row = guiGridListAddRow ( GridList ) -- Add Row guiGridListSetItemText ( GridList, Row, Column, getPlayerName ( v ), false, false ); -- Set New Values end; -- end of ' for ' end; -- end of ' clear gridlist ' end; -- end of ' check gridlist type ' end; -- end of ' check parematers end; -- end of ' function '
-
function () وعليكم السلام تحقق من isElementWithinMarker واذا صحيح سوي اوت بوت شات بوكس جرب يمكن تصلح end Edit : مثال : addEventHandler("onMarkerHit", root, function () if isElementWithinMarker(source) then local plr = getPlayerName(source) outputChatBox(plr.."لقد وضع هذا اللاعب الاوبجيكت بالماركر2",root,255,0,0,false) end )
-
لو الحدث هاد موجود راح اوزع كل موداتي و انشرها هنا triggerEvent("onPlayerClickonbuttonthensetaccountdatabystrongbutifclickedinthebuttonthensetaccountdata", localPlayer) يلا انقلع وزع راح فيها احمد ..
-
واجهتني مشكلة في الفنشكنات الاتيةة ! addEvent('IFNoPlayerInTeam', true) function ifNoPlayersInPolice() if countPlayersInTeam(getTeamFromName('Police')) == 0 then triggerServerEvent("OutPutChat",localPlayer) StartMission() end end addEventHandler('IFNoPlayerInTeam',root,ifNoPlayersInPolice) function ifNoPlayersInGang() if countPlayersInTeam(getTeamFromName('Gang')) == 0 then triggerServerEvent("OutPutChat1",localPlayer) StartMission() end end addEventHandler('IFNoPlayerInTeam',root,ifNoPlayersInGang) function ifNoPlayersInGangAndPolice() if countPlayersInTeam(getTeamFromName('Police')) == 0 and countPlayersInTeam(getTeamFromName('Gang')) == 0 then triggerServerEvent("OutPutChatDraw",localPlayer) StartMission() end end addEventHandler('IFNoPlayerInTeam',root,ifNoPlayersInGangAndPolice) انا الحين ابي اشوف العدد فقط اذا بعد المهمة فقط يعني صار يكرر كثير والمهمه لساته مابدأت