-
Posts
59 -
Joined
-
Last visited
Everything posted by ABoHussin
-
نعم صحيح اول مرة ماراح يطلع له . لكن حاولت اسويله .. حسب طلبه ! اعتقد اصلا ان الفكشن ماله فايدة
-
SERVER_IP = "127.0.0.1" function getServerIp() return SERVER_IP end fetchRemote("http://checkip.dyndns.com/", function (response) if response ~= "ERROR" then SERVER_IP = response:match("<body>Current IP Address: (.-)</body>") or "127.0.0.1" end end ) function ABoHussin ( ) serverip = getServerIp() if serverip == "127.0.0.1" then outputChatBox ( "This is our server >>"..serverip.."", source, 255, 255, 255, true ) else outputChatBox ( "This is not our server >>"..serverip.."", source, 255, 255, 255, true ) end end addCommandHandler ( "server", ABoHussin ) جرب خويي
-
جرب الفكشن هاذ https://wiki.multitheftauto.com/wiki/GetServerIp
-
السلام عليكم اخواني احوالكم اموركم المهم جاي اليوم اطلب منكم مود او فكشنات شرح المود : هناك قروب للرنت .. ولوحة تفعيل رنت عن طريق اسم المستخدم ( عشان احطه بقروب الرنت ) ابي مثلا احط الشخص بالقروب 30 يوم وينتهي يعني ورا 30 يوم ينشال تلقائيا من قروب الرنت
-
marker = createMarker ( x, y, z, "cylinder", 1.5, 255, 255, 0, 170 ) addEventHandler("onMarkerHit",marker, function( hit ) if hit and getElementType ( hit ) == 'player' then if getTeamFromName("166") and getPlayerTeam( hit ) then if getPlayerTeam ( hit ) == getTeamFromName ( "166" ) then outputChatBox ( "تم اعطائك بضاعة البنيان", hit, 255,255,255, true ) giveWeapon(hit,30,99) giveWeapon(hit,29,99) giveWeapon(hit,22,99) setElementHealth(hit,100) setPlayerArmor(hit,100) else outputChatBox ( "انت ليس من البنيان", hit, 255,255,255, true ) end else outputChatBox ( "انت ليس من البنيان", hit, 255,255,255, true ) end end end ) جرب ولاتنسا تغير الاحداثيات
-
thanks @Gravestone and @FaHaD i found it ..
-
pro i'm beginner can you give full code ?
-
https://wiki.multitheftauto.com/wiki/GetCursorMoveOn her is .. but the code is not work ..!
-
ok bro but how ?? can you make simple code ? Simple01 q1
-
hi all > i see script in real life server if you pres ' M ' mouse will appear then if you click on player .. gui window will and getplayer name in gui window this video : at 2:44 ..
-
up up upup up up
-
Not work.. and how ?? how to make vehcile and move it ?
-
hi everyone ,, i have error with me simple script ..! its about move vehicle .. any one can help me ? code : function newPed() local x, y, z = getElementPosition(localPlayer) local myPed = createPed(0, x + 1, y, z) local car = createVehicle ( 579, x+1, y, z ) warpPedIntoVehicle ( myPed, car) if myPed then setPedControlState(myPed,"forwards", true) end end addCommandHandler("ped",newPed) error in debugscript 3 :
-
الكود غلط اخوي ..! الديبوق يقرا ..! [2016-10-08 17:27:01] WARNING: adan\get.lua:3: Bad argument @ 'setTimer' [Expected number at argument 2, got none]
-
شكرا اخوي تعبتك بس طلب اخير تقدر تجيني سكايب استفسار بس .. ali.alyasre
-
شكرا اخوي بس عادي استخدم and min == 30 ?
-
السلام عليكم ابي شرح لفكشن getRealTime() لاني ابي اسوي مود مثلا الساعة 8 الصباح يشغل اذكار الصباح يعني انا شفت الويكي بس ابي كود مثلا يتاكد انو الريل تايم = 8 صباح عشان يشغل الدعاء وبس
-
function chek() if ( getElementType(source) == "chekp" ) then -- اسم الشيك بوكس if ( guiCheckBoxGetSelected(source) ) then executeCommandHandler ( "enauto", source ) else outputChatBox("",255,255,255,true) end end end addEventHandler("onClientGUIClick", source, chek, false) ممكن تصحح لي الكود ؟؟
-
السلام عليكم انا عندي كود تسجيل الدخول التلقائي الكود : function addAutoLogin() local xmlFile = xmlLoadFile(xmlFileName) if xmlFile then local status = xmlNodeGetAttribute(xmlFile,"autologin") if status == "false" then xmlNodeSetAttribute(xmlFile,"autologin","true") outputChatBox("* Info : Auto Login Has Been #20ff00 Enable",255,255,255,true) setTimer(outputChatBox,1000,1,"* Info : Say /disauto To Disable Auto-login",255,0,0,true) xmlSaveFile(xmlFile) xmlUnloadFile(xmlFile) else outputChatBox("* Info : Auto Login Has Been #20ff00 Enable!",255,255,255,true) xmlUnloadFile(xmlFile) end end end addCommandHandler("enauto", addAutoLogin) الحين الكود لما اكتب باف 8 enauto يشتغل التسجيل التلقائي لكن انا مابي من كوماند ابي اسوي شيك بوكس بلوحة تسجيل الدخول اذا حددها يشتغل تسجيل الدخول التلقائي الي مافهم ويبي توضيح يكتب هنا
-
dude i cant because it is in xml file >.. called messages.xml not in lua file ..
