-
Posts
2,156 -
Joined
-
Last visited
-
Days Won
6
Everything posted by ' A F .
-
متأكد isPlayerInWp DelPlayer انها موجودة ؟
-
addEventHandler("onMarkerHit",root,function ( hit ) if ( source == marker and getElementType ( hit ) == "player" ) then givePlayerMoney( hit , 5000 ) outputChatBox("في مهمة الركض وقد ربح 500الف " .. getPlayerName(hit) .. " لقد فاز اللاعب",root,255,255,255,true) for i,v in ipairs ( getElementsByType("player") ) do if ( isPlayerInWp ( v ) ) then killPed ( v ) DelPlayer ( v ) end end destroyElement(source) end end );
-
احط بالحدث حق دخول الماركر لوب يجيب لك اللاعبين الي بالمهمة ثم اقتلهم عن طريق هاذا الفنكشن : killPed ثم أحذفهم من الجدول .
-
العفو حياك الله .
-
armedVehicles = {[425]=true, [520]=true, [476]=true, [447]=true, [430]=true, [432]=true, [464]=true, [407]=true, [601]=true} function vehicleWeaponFire(key, keyState, vehicleFireType) local vehModel = getElementModel(getPedOccupiedVehicle(localPlayer)) if (armedVehicles[vehModel]) then triggerEvent("onClientVehicleWeaponFire", localPlayer, vehicleFireType, vehModel) end end bindKey("vehicle_fire", "down", vehicleWeaponFire, "primary") bindKey("vehicle_secondary_fire", "down", vehicleWeaponFire, "secondary") addEvent ( "onClientVehicleWeaponFire" , true ) ; addEventHandler ( "onClientVehicleWeaponFire" , root , function ( _ , model ) if ( model == 432 ) then setTimer (playSound,2000,1,"Wow.mp3"); end end ) ;
-
العفو حياك الله
-
سيرفر من الطراز العألي , بالتوفيق لكم .
-
مو شرط يسوي ذا كله يمديه يستخدم addDebugHook واذا الشات مغلق يرجع له 'skip'
-
local Keys,Dim = {"F1","F2","F3","F4","F5","F6","F7","F9","F10","F12","p","]","[","/"} , 45 ; addEventHandler ( "onClientKey" , root , function ( key , press ) if ( press and getElementDimension ( localPlayer ) == Dim ) then for k,v in ipairs ( Keys ) do if ( v == key ) then outputChatBox("غير مصرح لك بفتح اللوحة الان !",255,255,0,true) cancelEvent() end end end end ) ;
-
setWorldSoundEnabled 'onVehicleWeaponFire' -- https://wiki.multitheftauto.com/wiki/OnVehicleWeaponFire playSound
-
addCommandHandler getPlayerAccount isGuestAccount getElementData setElementData setAccountData getAccountData
-
تحتاج تسوي متغير تجيب حالة المهمة هل هي مشتغلة أو طافية . وتحدث المتغير مع التايمر .
-
addEventHandler("onClientGUIChanged", root, function () if ( source == search ) then if ( guiGetText ( source ) == "" ) then guiGridListClear(grdPlayers) for i,v in ipairs(getElementsByType("player")) do local row = guiGridListAddRow(grdPlayers) guiGridListSetItemText(grdPlayers,row,1,getPlayerName(v):gsub("#%x%x%x%x%x%x", ""),false,false) end else guiGridListClear(grdPlayers) for i,v in ipairs(getElementsByType("player")) do if string.find(getPlayerName(v),guiGetText(search)) then local row = guiGridListAddRow(grdPlayers) guiGridListSetItemText(grdPlayers,row,1,getPlayerName(v):gsub("#%x%x%x%x%x%x", ""),false,false) end end end end end ) By @!#NssoR_)
-
'onPlayerWasted' getElementData setElementData
-
live:default_progamer
-
وريني محاولاتك .
-
tables or setElementData getElementData بالجداول سويه لكل اللاعبين وزيد القيمة +1 كذالك الداتا نفس الشيء .
-
قلت لك إستخدم الداتا او الجدأول ويوم تدق على الزر سوي ترايقر واستخرج الداتا او الجداول من كل اللاعبين .