-
Posts
10,056 -
Joined
-
Last visited
-
Days Won
27
Everything posted by iPrestege
-
Hahaha Great job dude .
-
Will Open the admin panel > Main > Resources > MangeACL > Admin Group > AddObject > resource.modloader #
-
ي صديق الكود كلنت / = ؟
-
dxDrawText dxDrawImage "onClientRender" "onClientPlayerWasted" getElementModel -- Weapons
-
المود موجود اصلا بـ الروم : https://community.multitheftauto.com/index.php?p=resources&s=details&id=13
-
لا هذا الكود يسوي كلام بالكيل مسج نفس اللي تبآهـ ذذ مود الكيل مسج موجود بالروم بس شغلة وشغل المود وخلي احد يخش وشوف ..
-
سوي مود وشغل مود كل مسج وحط الكود سيرفر وجرب ((=
-
Hmmm..You can make a function with a command handler then execute the command : addCommandHandler executeCommandHandler kickPlayer * You can use the same command handler with execute with any resource .
-
ابد سهل جدا تسوية ! شوف كذآ : -- Server Side Script # addEventHandler("onPlayerJoin",root, function ( ) local Country = exports['admin']:getPlayerCountry(source) or "nil" local PlayerName = getPlayerName(source):gsub('#%x%x%x%x%x%x', '') local PlayerPing = getPlayerPing(source) exports['killmessages']:outputMessage("[ "..PlayerName.." ] Joined The Game From [ "..Country.." ] Ping [ "..PlayerPing .." ] ",root,255,255,0,true) end )
-
اوهـ / = احسبة صفحة وحدهـ -.- ماعليه خخ
-
فكرتك ؟؟؟ هههه انت سارق الفكرة من سيرفر اسمه neO-Team على ما اعتقد تقفل + كان القيمود افضل بمليون مره واشياء افضل ونظام افضل القيممود حقك الي تقول انه فكرتك قاعد اسوي زيه وان شاء الله اخلصه قريب ,, بـ التوفيق وذا ماعرفة !؟
-
addEvent ( "lockcar", true ) addEventHandler( "lockcar", root, function( ) playervehicle = getPlayerOccupiedVehicle ( source ) if ( playervehicle ) then setVehicleLocked ( playervehicle, not isVehicleLocked ( playervehicle ) ) end end )
-
local MaxScreenPosition = 20 local r,g,b = 255,0,0 local alpha = 255 local FontSize = 2 local TextFont = "arial" addEventHandler("onClientRender",getRootElement(), function ( ) local x,y,z = getElementPosition( element ) local MatrixX, MatrixY, MatrixZ = getCameraMatrix( ) if ( getDistanceBetweenPoints3D( MatrixX, MatrixY,MatrixZ,x,y,z ) <= MaxScreenPosition ) then local WorldX,WorldY = getScreenFromWorldPosition( x,y,z +1,0.06 ) if ( WorldX and WorldY ) then dxDrawText ( "Text",WorldX,WorldY,WorldX,WorldY,tocolor(r,g,b,alpha),FontSize,TextFont ) end end end ) table.insert مآهو اجباري فية طرق اسهل
-
لازم تتأكد بالكلنت الترايقر معرف 'thePlayer'
-
You're welcome sorry i was busy But am very happy you know why ? Because you do it .
-
اقترح عليكـ اذا بـتسوي تسوي وظيفة كاملة تسهل عليكـ .. : table pairs getWorldFromScreenPosition getCameraMatrix getDistanceBetweenPoints3D dxGetTextWidth dxDrawText -- عشان تسوي الوظيفة عندكـ الطريقة المعتادهـ او : table.insert وتقدر تستخدمها فـ اي شيء مايهم بيد ماركر الخ و تقدر تسوي خط و حجم و كل شيء ذذ
-
And what you need? Explain more please -.- .
-
function godmodeHandler () cancelEvent () end addEvent ("enableGodMode",true) addEventHandler ("enableGodMode",getRootElement(), function() addEventHandler("onClientRender",getRootElement(),DxHandlerFunction) addEventHandler("onClientRender",getRootElement(),DxHandlerFunction2) addEventHandler ("onClientPlayerDamage",getRootElement(), godmodeHandler) end) function DxHandlerFunction( ) dxDrawText("Has Entrado a la Zona de No Campeo, Tienes 1 Minuto Para Salir", 271, 709, 942, 775, 0xFFFF0000, 1.30, "pricedown", "center", "top", false, false, true, false, false) end addEvent ("disableGodMode",true) addEventHandler ("disableGodMode",getRootElement(), function() removeEventHandler ("onClientPlayerDamage",getRootElement(), godmodeHandler) setTimer(function() removeEventHandler("onClientRender",getRootElement(),DxHandlerFunction2) end,4000,1) setTimer(function() removeEventHandler("onClientRender",getRootElement(),DxHandlerFunction) end,4000,1) end) function DxHandlerFunction2( ) dxDrawText("Has Salido de la Zona de No Campeo, Ahora Puedes Usar Armas", 271, 709, 942, 775, 0xFF00FF00, 1.30, "pricedown", "center", "top", false, false, true, false, false) end
-
Hmmm... You can use this resource with this code : https://community.multitheftauto.com/index.php?p=resources&s=details&id=556 addEventHandler("onElementDataChange",getRootElement(), function ( ElementData ) if ( ElementData == "Last Drift" ) then givePlayerMoney(source,getElementData(source,ElementData)) end end )
-
function godmodeHandler () cancelEvent () end addEvent ("enableGodMode",true) addEventHandler ("enableGodMode",getRootElement(), function() addEventHandler("onClientRender",getRootElement(),DxHandlerFunction) addEventHandler ("onClientPlayerDamage",getRootElement(), godmodeHandler) end) function DxHandlerFunction( ) dxDrawText("Has Entrado a la Zona de No Campeo, Tienes 1 Minuto Para Salir", 271, 709, 942, 775, 0xFFFF0000, 1.30, "pricedown", "center", "top", false, false, true, false, false) end addEvent ("disableGodMode",true) addEventHandler ("disableGodMode",getRootElement(), function() removeEventHandler ("onClientPlayerDamage",getRootElement(), godmodeHandler) removeEventHandler("onClientRender",getRootElement(),DxHandlerFunction) setTimer(function() addEventHandler("onClientRender",getRootElement(),DxHandlerFunction2) end,4000,1) end) function DxHandlerFunction2( ) dxDrawText("Has Salido de la Zona de No Campeo, Ahora Puedes Usar Armas", 271, 709, 942, 775, 0xFF00FF00, 1.30, "pricedown", "center", "top", false, false, true, false, false) end Try it.
-
You mean like that ? function godmodeHandler () cancelEvent () end addEvent ("enableGodMode",true) addEventHandler ("enableGodMode",getRootElement(), function() addEventHandler("onClientRender",getRootElement(),DxHandlerFunction) addEventHandler("onClientRender",getRootElement(),DxHandlerFunction2) addEventHandler ("onClientPlayerDamage",getRootElement(), godmodeHandler) end) function DxHandlerFunction( ) dxDrawText("Has Entrado a la Zona de No Campeo, Tienes 1 Minuto Para Salir", 271, 709, 942, 775, 0xFFFF0000, 1.30, "pricedown", "center", "top", false, false, true, false, false) end addEvent ("disableGodMode",true) addEventHandler ("disableGodMode",getRootElement(), function() removeEventHandler ("onClientPlayerDamage",getRootElement(), godmodeHandler) removeEventHandler("onClientRender",getRootElement(),DxHandlerFunction2) removeEventHandler("onClientRender",getRootElement(),DxHandlerFunction) end) function DxHandlerFunction2( ) dxDrawText("Has Salido de la Zona de No Campeo, Ahora Puedes Usar Armas", 271, 709, 942, 775, 0xFF00FF00, 1.30, "pricedown", "center", "top", false, false, true, false, false) end