-
Posts
570 -
Joined
-
Last visited
Everything posted by z24d
-
السلام عليكم مود او سكربت الفيب لكن مع لوحة وكذآ طبعاً هذا الاصدار الثاني الاصدار الأول http://www.gta-arabs.com/gt/-mta-/129104-vip-panel.html المود يحتاج رتبة الفيب لكن خل اسم الرتبة : VIP الصور الواجهة لوحات ثانية ملاحضة:انا بريء من أي اغنية تشتغل بالسكربت # download | التحميل http://up.top4top.net/downloadf-top4...64891-zip.html الي يشوف اي بق سكايب : fcbmjnon
-
hi guys where is problem on my code? i need label to random a texts from the table xMonsterNames but i need any one to fix : ) xMonsterNames = { "AWADSAD", "awdaasdwd", "awdaasdwwwd" } setTimer(guiSetText,3000,0,G,xMonsterNames[ math.random ( #xMonsterNames ) ])
-
veh = {} addEvent('xMasterLoop',true) addEventHandler('xMasterLoop',root, function(zz) if not isElement(veh[source]) then xr,yr,zr = getElementRotation(source) x,y,z = getElementPosition(source) veh[source] = createVehicle(getVehicleIDFromName(zz),x,y,z+1,xr,yr,zr) warpPedIntoVehicle(source,veh[source]) setElementInterior(veh[source],getElementInterior(source)) setElementDimension(source,getElementDimension(source)) MyMarker() else MyMarker() xr,yr,zr = getElementRotation(source) x,y,z = getElementPosition(source) destroyElement(veh[source]) veh[source] = createVehicle(getVehicleIDFromName(zz),x,y,z+1,xr,yr,zr) warpPedIntoVehicle(source,veh[source]) setElementInterior(veh[source],getElementInterior(source)) setElementDimension(source,getElementDimension(source)) end end ) function MyMarker ( ) if isElement(blipa) then destroyElement(blipa) return end if isElement(arrowMarker) then destroyElement(arrowMarker) return end local arrowMarker = createMarker ( 0, 0, 0, "arrow", 0.70, 255, 100, 0, 150 ) setElementData ( source, "MyCar", veh[source] ) attachElements ( arrowMarker, veh[source], 0, 0, 2.1 ) blipa = createBlipAttachedTo ( arrowMarker, 55 ) end addEventHandler("onElementDestroy", veh[source], function () destroyElement(arrowMarker) destroyElement(blipa) end ) Serials = { ["**"] = true, } addEventHandler ( "onVehicleStartEnter", root, function( player ) if ( source == veh[source] ) then local Ps = getPlayerSerial( player ) if ( Serials[Ps] ) then outputChatBox ( "** Welcome "..getPlayerName( player ).." To your car ^", player, 0, 255, 255, true ) else cancelEvent ( true ) outputChatBox ( "** This privately owned vehicle", player, 0, 255, 255, true ) end end end ) استعملت كود زاحف وماضبط
-
السلام عليكم وشسالفة addEventHandler('onPlayerVehicleEnter',veh[source], function() local acc = getPlayerAccount(client) if( isObjectInACLGroup("user."..getAccountName(acc),aclGetGroup("VIP"))) then outputChatBox('Welcome To Your Vehicle ',source,255,255,0) else cancelEvent() end end ) ابي الي معهم فيب يركبونها بس شلونن
-
addEventHandler("onClientGUIClick",root, function () if source==اسم الزر then triggerServerEvent("giveHimM4",localPlayer) end end ) --server# addEvent("giveHimM4",true) addEventHandler("giveHimM4",root, function () giveWeapon ( source,اي دي السلاح,mكمية الذخيرة) end )
-
for ia,xMonsterlist in ipairs(xMonsterUpgrades) do rows = guiGridListAddRow(itemGridlist) guiGridListSetItemData(itemGridlist,rows,1,xMonsterlist[1],false,false) guiGridListSetItemText(itemGridlist,rows,1,xMonsterlist[2],false,false) end addEventHandler("onClientGUIClick",root, function() wawd = guiGridListGetSelectedItem(itemGridlist) if source == btnItemsz then if wawd ~= -1 then dsad = guiGridListGetItemData(itemGridlist,wawd,1) triggerServerEvent("changeWheels",localPlayer,dsad) end end end ) سيرفر addEvent("changeWheels",true) addEventHandler("changeWheels",root, function (dsad) if isElement(veh[source]) then addVehicleUpgrade(veh[source],dsad) outputChatBox("[VIP System] Your Vehicle has succesfuly Upgraded.",source,0,255,0) else outputChatBox("[VIP System] You dont have vehicle.",source,255,0,0) end end ) --
-
كفو والله لكن طلب ثاني عندي مود اذا ضغط زر يطلع صوت لكن في مشكلةة اباه اذا ضغط الزر يقفل الصوت ويشغله ثاني ماضبط function playingSound() if sound = playSound(guiGetText(edit)) and not isElement(sound) then stopSound(sound) playSound(guiGetText(edit)) end end
-
z24d = 0 GUIEditor = { label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() local screenW, screenH = guiGetScreenSize() GUIEditor.label[1] = guiCreateLabel((screenW - 130) / 2, (screenH - 24) / 2, 130, 24, "0", false) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 1, 0, 0) setTimer( z24d = z24d + 5 guiSetText(GUIEditor.label[1],tonumber(z24d)) 5000,0) end )
-
I created a label and I want this to be inside my label a number increases every 5,000 seconds, or what I need? How