-
Posts
7,337 -
Joined
-
Days Won
11
Everything posted by TAPL
-
طيب هذا الكود انا ابيه لما يكون اكثر من لاعب واحد بس يلمس الماركر وينقل كل الاعبين marker5 = createMarker( 1379.8220214844,-945.32458496094,2171.8156738281, "cylinder", 2, 100, 100, 100, 255) function theMarker( hitPlayer, matchingDimension ) if(getTeamName(getPlayerTeam(hitPlayer))=="Police")then setMarkerColor ( marker5, 65, 105, 255, 255 ) elseif (getTeamName(getPlayerTeam(hitPlayer))=="Criminal") then setMarkerColor ( marker5, 255, 0, 0, 255 ) R,G,B = getMarkerColor(marker5) if(R==255 and G==0 and B==0)then removeEventHandler( "onMarkerHit", marker5, theMarker ) if isElementWithinMarker(localPlayer, marker5) then setTimer(givePlayerMoney,20000,1,hitPlayer,16000) end end end end addEventHandler( "onMarkerHit", marker5, theMarker ) قصدك ينقل كل اللاعبين الي في السيرفر؟
-
-- Client Side -- addEventHandler("onClientPlayerDamage", localPlayer, function() if getElementModel(source) == 217 then cancelEvent() end end)
-
setWorldSpecialPropertyEnabled("extrajump", true)
-
setWorldSpecialPropertyEnabled
-
getResources هذي للمودات مكتوب ريسورس ابي المابات ههههههههه طيب بسئلك المابات في أي مجلد تحطها؟
-
نفس المشكله حط كودك كلينت و سيرفر و ميتا debugscript 3 و الأخطاء الي في
-
GUIEditor_Window = {} GUIEditor_Window[1] = guiCreateWindow(154,151,543,369,"",false) guiCreateStaticImage(0, 0, 543, 369, "ImageName.png", false, GUIEditor_Window[1])
-
https://forum.multitheftauto.com/viewtopic.php?f=91&t=49615#p487063
-
-- Server Side -- bindKey getPlayerTeam getPlayersInTeam triggerClientEvent -- Client Side -- playSound outputChatBox
-
https://community.multitheftauto.com/index.php?p=resources&s=details&id=6001 DONE
-
No. You must supplied all previous arguments before the argument you wanted to use. https://wiki.multitheftauto.com/wiki/Optional_arguments
-
https://community.multitheftauto.com/index.php?p=resources&s=details&id=652
-
-- Server Side -- addEventHandler("onPlayerWasted", root, function() local x, y, z = getElementPosition(source) triggerClientEvent(root, "onWasted", root, x, y, z) end) -- Client Side -- addEvent("onWasted") addEventHandler("onWasted", root, function(x, y, z) createExplosion(x, y, z, 0, true, -1.0, false) end)
-
ضيف أدمنية كثر الي تبي check = { {Name = "الأسم هنا", Serial = "السيريال هنا", rName = "أسم الأدمن الي يجي في الشات"}, {Name = "الأسم هنا", Serial = "السيريال هنا", rName = "أسم الأدمن الي يجي في الشات"}, {Name = "الأسم هنا", Serial = "السيريال هنا", rName = "أسم الأدمن الي يجي في الشات"}, {Name = "الأسم هنا", Serial = "السيريال هنا", rName = "أسم الأدمن الي يجي في الشات"}, {Name = "الأسم هنا", Serial = "السيريال هنا", rName = "أسم الأدمن الي يجي في الشات"}, } addEventHandler("onPlayerJoin", root, function() for i, v in ipairs(check) do if getPlayerName(source) == v["Name"] then if getPlayerSerial(source) == v["Serial"] then outputChatBox(v["rName"].." تم دخول الادمن الحقيقي", root, 255, 0, 0) else outputChatBox(v["rName"].." تم تقليد نك نيم الادمن", root, 255, 0, 0) banPlayer(source, false, false, true, root, "سبب الباند هنا") end end end end)
-
السكربت كله 14 سطر من وين جا سطر 20
-
settings أسمك الي مسجل في
-
MyName = "اسمك هنا" MySerial = "سيريالك هنا" addEventHandler("onPlayerJoin", root, function() if getPlayerName(source) == MyName then if getPlayerSerial(source) == MySerial then outputChatBox("تم دخول الادمن الحقيقي حسن", root, 255, 0, 0) else outputChatBox("تم تقليد نك نيم الادمن حسن", root, 255, 0, 0) banPlayer(source, false, false, true, root, "سبب الباند هنا") end end end)
-
http://linux.multitheftauto.com/dl/131/baseconfig.tar.gz
-
https://forum.multitheftauto.com/viewtopic.php?f=119&t=49609
-
function onGuiClick () if source == killBtn then setElementHealth(localPlayer, 0) end end addEventHandler("onClientGUIClick", resourceRoot, onGuiClick)
