-
Posts
1,304 -
Joined
-
Last visited
-
Days Won
5
Everything posted by Ahmed Ly
-
رائع استمر يبطل
-
setCameraMatrix (1795.5837402344, 1182.8658447266, 45.984001159668, 1795.5771484375, 1181.9427490234, 45.984001159668) ------------------------------------------------------------------- local Ped = createPed ( 0, 1795.90479, 1177.90698, 46.03749 ) setElementFrozen(Ped,true) setPedAnimation(Ped,"STRIP","strip_A")
-
محآولتي اول مره احاول اصنع مهم والله شكلي جآيب ام العيد local WarMission = createMarker(x, y, z, "cylinder", 2, 255, 0, 0, 150) addEventHandler("onResourceStart", resourceRoot, function() outputChatBox("تم بددآ المهم اذهب الى المآركه لـدخول الى المهمه", root, 50, 30, 255) outputChatBox("تم تشغيل المهمه", root, 0, 150, 255) setTimer(checkForWinner, 1000, 1, true) end, 10*60*1000, 1) end) local war = { {x, y, z}, {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} {x, y, z} } addEventHandler("onMarkerHit", root, function(player) if getElementType(player) == "player" and not isPedInVehicle(player) then if source == WarMission if player < 32 return outputChatBox("#ff0000War:", source, 0, 0, 250,true) then local x, y, z = unpack(war[math.random(#war)]) setElementPosition(player, x, y, z) setPlayerSkin (source, 2) toggleControl ( player, "fire", false ) ----------- هنا مايقدر يطلق او شيء الى بعد ماتبدا المهم الى هي بعد 2 دقيقه setTimer(player , 1000, 1, true) setTimer(setElementFrozen , 1000, 1, true) end, 120*1000, 1) --- ينفك الفريز بعد 2 دقيقه end end end end) buttons = { ['F1'] = true, ['F2'] = true, ['F3'] = true, ['F4'] = true, ['F5'] = true, ['F6'] = true, ['F7'] = true, ['F8'] = true, ['F9'] = true, ['F10'] = true, ['F11'] = true, ['F12'] = true, } addEventHandler( 'onClientKey', root, function (button , prees) if prees and getElementDimension(localPlayer) == 50 then if buttons[button] then outputChatBox("غير مصرح لك بفتح اللوحة الان ", source, 255, 0, 0,true) cancelEvent() end end end ) ناقص كلمة then في سطر 53
-
try this client --client addEventHandler('onClientGUIClick',root, function () if source == button4 then triggerServerEvent("tank",getLocalPlayer(),0,255,0,"---") end end ) server --server local car = { } addEvent("tank",true) addEventHandler("tank",root, function(r,g,b,text) if isElement(car[source]) then destroyElement(car[source]) end local x,y,z = getElementPosition(source) car[source] = createVehicle(432, x + 2,y,z ) warpPedIntoVehicle(source,car[source]) outputChatBox(text,source,r,g,b) end ) addEventHandler("onPlayerQuit",root, function () destroyElement(car[source]) end )
-
--client addEventHandler('onClientGUIClick',root, function () if source == button4 then triggerServerEvent("tank",locaPlayer,0,255,0,"---") end end ) --server addEvent("tank",true) addEventHandler("tank",root, function(r,g,b,text) local x,y,z = getElementPosition(source) car = createVehicle(432, x + 2,y,z ) warpPlayerIntoVehicle(source,car) outputChatBox(text,source,r,g,b) end )
-
you From egypt ?
-
guiGridListAddColumn guiGridListClear getElementType guiGridListSetItemText --x2 getPlayerName getElementData
-
You're welcome
-
GUIEditor = { button = {}, window = {}, memo = {} } outputChatBox("#FF0000--Rang #FFffFFvásárlás #00ff00panel-- #ff0000F10!",0,255,255,true) GUIEditor.window[1] = guiCreateWindow(322, 223, 783, 193, "AJÁNDÉK PANEL | TELJESEN TURBESZ ÁLTAL", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF00D655") GUIEditor.button[1] = guiCreateButton(9, 24, 126, 34, "HALHATATLANSÁG", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF2FFE00") GUIEditor.button[2] = guiCreateButton(9, 68, 126, 35, "AUTÓ HALHATATLANSÁG 1X", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF2FFE00") GUIEditor.button[3] = guiCreateButton(9, 110, 126, 32, "MINIGUN", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF2FFE00") GUIEditor.button[4] = guiCreateButton(10, 150, 125, 33, "TANK", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FF2FFE00") GUIEditor.button[5] = guiCreateButton(143, 25, 131, 33, "SZÍNESÍRÁS", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFFEFFFE") GUIEditor.button[6] = guiCreateButton(143, 68, 131, 35, "FEGYVER CSOMAG", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFFEFFFE") GUIEditor.button[7] = guiCreateButton(144, 109, 130, 33, "LÁTHATATLANSÁG", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FFFEFFFE") GUIEditor.memo[1] = guiCreateMemo(277, 25, 496, 117, "\nSzia, üdv a FullFunPlay Szerveren! \n\nEz a panel, egy MÁGIKUS!!! ISMÉTLEM MÁGIKUS PANEL!!! Csak nektek, turbesztől, a tulajtól. \n\nItt kiválaszthatsz egy valamit, 12 óránként! \n\nJó szórakozást a panellel!", false, GUIEditor.window[1]) guiMemoSetReadOnly(GUIEditor.memo[1], true) button = guiCreateButton(146, 152, 627, 31, "BEZÁRÁS BEZÁRÁS BEZÁRÁS BEZÁRÁS BEZÁRÁS", false, GUIEditor.window[1]) function Bezaras( ) guiSetVisible(GUIEditor.window[1], false) showCursor ( false ) end addEventHandler ( "onClientGUIClick", button, Bezaras) guiSetVisible (GUIEditor.window[1], false) function OpenWin() if guiGetVisible ( GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible (GUIEditor.window[1],true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F10", "down", OpenWin)
-
او جرب هدا function isPlayerInTeam(player, team) assert(isElement(player) and getElementType(player) == "player", "Bad argument 1 @ isPlayerInTeam [player expected, got " .. tostring(player) .. "]") assert((not team) or type(team) == "string" or (isElement(team) and getElementType(team) == "team"), "Bad argument 2 @ isPlayerInTeam [nil/string/team expected, got " .. tostring(team) .. "]") return getPlayerTeam(player) == (type(team) == "string" and getTeamFromName(team) or (type(team) == "userdata" and team or (getPlayerTeam(player) or true))) end local w = createMarker (1482.26880,-1772.30725,18.79576, "arrow",1) setElementDimension(w,1) addEventHandler ( "onMarkerHit",w,function (hitPlayer) if getElementType(hitPlayer) == 'player' then if isPlayerInTeam(hitPlayer,"Police LS") then setElementPosition (hitPlayer,1483,-1767,19) -- Posicion del jugador donde aparecere cuando toque el marcador. else outputChatBox("انت ليس من هدا التيم",hitPlayer,0,255,0) end end end )
-
بالتوفيق
-
بدايه رائعه و مود جميل بالتوفيق لك
-
https://wiki.multitheftauto.com/wiki/IsPlayerInTeam
-
يشتغل و هدا مجرد مثل local markerExit = createMarker (390,174,1009, "arrow", 1.0, 0, 0, 0, 0 ) setElementAlpha (markerExit,0 ) addEventHandler("onMarkerHit",markerExit, function () outputChatBox("--") end ) --سيرفر
-
why you are using my name ? go kill him
-
سكربت رائع ومييز
-
شوف سطر 23 24 و 26 27 و 29 30 - 52
-
شرح جميل تستخدم للستدعاء وظيفه من مو ثاني عدله كلمة مو خليه مود