-
Posts
868 -
Joined
-
Last visited
Everything posted by hassan.k.s.a
-
جرب هذا function playerDamage( attacker, weapon, attackerweapon, loss ) local Team = getTeamFromName ( "Police" )--ضيف قروب الشرطه if Team then if ( attackerweapon == 0 ) then--بدل 0 بأسم العصى لشرطه spawnPlayer ( player, x, y, z )--حط ألأحداثيات الي راح ينتقل لهم الاعب مو تنسخه وتلصقه وتقول ماشتغل end end end addEventHandler ( "onPlayerDamage", getRootElement (), playerDamage)
-
1مثال function v() if isPedInVehicle ( source ) then local x,y,z = getElementPosition (source) ob = createObject ( id, x, y, z )--add id the object Vehicle = getPedOccupiedVehicle(source) attachElements ( ob, Vehicle, 0, 0, -1 ) end end مثال2 function v() ob = createObject ( id, x, y, z ) local Vehicle = createVehicle ( 432, x, y, z + 5 ) attachElements ( ob, Vehicle, 0, 0, 5 ) end
-
AttachElements createVehicle CreateObject
-
معلومه أكثر من رائعه لاهنت على الطرح
-
عدله من الأدمنيه ألسايتنق للفري روم وخلي بدل الماكس 2 خليه 1
-
guiGridListSetItemText(GUIEditor_Grid[1],row,nametop,name,true,true)
-
لاحول ياحبيبي ياذكي يابابا جربت الكود حقي؟
-
لا ما يشتغل كذا بدون ما اجرب دامك تعرف انه مايشتغل يعني عارف الحل مثلأً ^.^
-
LoL? عارف انه غلط لاكن بأنتضار ردك هع
-
جرب هذا guiGridListSetItemText(GUIEditor_Grid[1], row, getPlayerName(nametop), tostring(data.name), false, false)
-
function clear(player) if ( hasObjectPermissionTo ( thePlayer, "general.adminpanel", true ) ) then for i=1,30 do outputChatBox(" ") end outputChatBox("*** #ff0000INFO:#ffff00#736F6E ADMIN #00ff00[ "..getPlayerName(player).." ] #ffff00#736F6E#736F6ECLEARED THE CHAT #ff0000***",root,255,12,15, true) else outputChatBox ("You are Not Admin", player, 193, 13, 13) end end addCommandHandler("cc", clear)
-
اذا تبيها تنسحب تفضل --server side-- function planeEnter ( theVehicle, seat, jacked) local NameTeam = getTeamFromName ( "a" )--بأسم قروب الحراميه a استبدل if NameTeam then local id = getElementModel ( theVehicle ) if id == 000 or id == 000 or id == 000 then--استبدل 000 بأيدي السياره destroyElement(theVehicle) end end end addEventHandler ( "onPlayerVehicleEnter", getRootElement(), planeEnter ) --meta--
-
اطرح الأكواد وانت معدل عليها + ملف meta
-
امم انت مشكلتك تبي تحديث ولا تبي الي يقتل يضهر في السته ^.^
-
addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()), function Timer() triggerServerEvent("onGetTop",getLocalPlayer()) end) setTimer(Timer,10000,0) addEvent("onClient",true) addEventHandler("onClient",getRootElement(), function (name,data) local row = guiGridListAddRow(GUIEditor_Grid[1]) guiGridListSetItemText(GUIEditor_Grid[1],row,nametop,name,false,false) guiGridListSetItemText(GUIEditor_Grid[1],row,datatop,data,false,false) end)
-
معليش كنت مستعجل جرب هذا function planeEnter ( theVehicle, seat, jacked ) local NameTeam = getTeamFromName ( "a" )--بأسم قروب الحراميه a استبدل if NameTeam then local id = getElementModel ( theVehicle ) if id == 000 then --استبدل 000 بأيدي السياره blowVehicle ( theVehicle ) end end end addEventHandler ( "onPlayerVehicleEnter", getRootElement(), planeEnter ) واذا اكثر من سياره function planeEnter ( theVehicle, seat, jacked ) local NameTeam = getTeamFromName ( "a" )--بأسم قروب الحراميه a استبدل if NameTeam then local id = getElementModel ( theVehicle ) if id == 000 or id == 000 or id == 000 or id == 000 then--استبدل 000 بأيدي السياره blowVehicle ( theVehicle ) end end end addEventHandler ( "onPlayerVehicleEnter", getRootElement(), planeEnter )
-
جرب هذا --Server Side function v( thePlayer ) local ID = getElementModel(getPedOccupiedVehicle(thePlayer)) if ( ID == 000) then--ركب اي دي السياره لشرطه بدل 000 if ( getTeamName == name) then--name ضع اسم التيم الشرطه بدل setElementHealth ( source, getElementHealth(source) - 100 ) end end end addEventHandler("onVehicleEnter",root,v) او function v( thePlayer ) local ID = getElementModel(getPedOccupiedVehicle(thePlayer)) if ( ID == 000) then--ركب اي دي السياره لشرطه بدل 000 if ( getTeamName == name) then--name ضع اسم التيم الشرطه بدل setElementHealth ( thePlayer, getElementHealth(thePlayer) - 100 ) end end end addEventHandler("onVehicleEnter",root,v)
-
local x, y, z = getElementPosition (Ped) Blip = createBlip( x, y, z, 0) Ped = createPed( id, x, y, z)--Add Position And id --Position x, y, z
-
Nice tut, good job
-
bindKey --https://wiki.multitheftauto.com/wiki/BindKey SetPlayerTeam --https://wiki.multitheftauto.com/wiki/SetPlayerTeam اذا تبيه كآمل = مبلغ مآدي بـ الخاص
-
انا وش لي معرفة فيك على شأن اكلمك ؟ وانا وش لي معرفة فيك لاكن جا شخص لي بنكك وبقيت أتأكد
-
هو يبي الطلقات ورا بعض دون تعشيق وبعدين انت الي كلمتني البارح ولا شخص ثآني؟