-
Posts
854 -
Joined
-
Last visited
-
Days Won
6
Everything posted by MR.GRAND
-
no one replay my subject
-
Hello guys, i have a problem with email sender i'm write this in acl : "OutRPCGroup"> "OutRPC"> "resource.emailer"> "InRPCGroup"> "InRPC"> "user.http_guest"> "InRPC"> "resource.emailer.http" access="true" /> my resource name is emailer and my web page is : http://mrgrand.ga2h.com/emailer.php server side : --------------------------------- -- Script: Email sending tool. -- Type: Server side [V1.5] -- All copyrights reserved by -- nerds, do not remove my name. --------------------------------- local randomMails = {"[email protected]", "[email protected]", "[email protected]", "[email protected]", "[email protected]"} function fromRandom() return randomMails[math.random(#randomMails)] end function sendCustomMail(subject, header, sendto, mail) local header = "From: "..subject.." <"..(header or fromRandom())..">" callRemote("http://mrgrand.ga2h.com/emailer.php", returns, subject, header, sendto, mail) -- This website is not available any more so add the PHP files in your own website and put URL here. end addEvent("sendEMail", true) addEventHandler("sendEMail", root, sendCustomMail) function returns(msg, num) if msg == "ERROR" or (not msg) then outputDebugString("E-Mail not sent due to webpage errors, check the script and/or page provided.", 2) else outputDebugString(msg, num or 3) end end why give me this in debug ? E-Mail not sent due to webpage errors, check the script and/or page provided can you help me
-
تبي ككودك يضبط وانت مطير نصه ؟ وين كود ادخال الاعب للتيم ؟ وليش مسوي الاعبين يقدروآ يقتلوآ بعض ؟
-
جرب function zom ( ) local Zombie = getTeamFromName("Zombie") setPlayerTeam( source, Zombie) if ( getTeamFriendlyFire ( Zombie ) == false ) then setTeamFriendlyFire(Zombie,true) end end addEvent( "ssp", true ) addEventHandler( "ssp", root, zom )
-
أحذف التيم وحط ذا الكود وشغل السكربت -- # Server Side function zom() local Team = createTeam( Zombie ) setPlayerTeam ( source , Team ) setTeamFriendlyFire( Zombie, true ) end addEvent( "ssp", true ) addEventHandler( "ssp", root, zom )
-
-- # Server Side function zom () setPlayerTeam ( source , getTeamFromName('Zombie') ) setTeamFriendlyFire( Zombie, true ) end addEvent( "ssp", true ) addEventHandler( "ssp", root, zom )
-
من حذف مشاركتي ؟ !!!!!!!!!!!!!!!!!!!!!!!!!!
-
حياك الله ي قلبوو شكرا على تعليقك
-
تم رفع الأصدار الجديد من السكربت بدمج اللغة العربية والأنجليزية بنفس اللوحة وتغيير بعض الأشياء ^.^ لمشاهدة الأصدار الجديد باللغتين : رابط تحميل الأصدار الجديد من السكربت v2.1.0 : http://up.top4top.net/downloadf-21vbwr3-zip.html في أمان الله
-
"up": If the bound key should trigger the function when the key is released "down": If the bound key should trigger the function when the key is pressed "both": If the bound key should trigger the function when the key is pressed or released هذا المعنى حقه من الويكي طبعا ^^ لآكن نتمنى شرح تفصيلي من تنطيل او من شخص كبير لان نبي نعرف اكثر عن كذا اشياء ومتى يجي استخدامها عرفت انا انو up حتى لو ماضغط الزر يطبق الأمر او ماشابه ذلك down يجب ضغط الزر لتطبيق امر معين both يعني ان ضغط ولا ماضغط رخ يطبق الامر بس نبي نعرف اكثر
-
خذ ذا الكود -- Client Side Functions ! local Key = "F3" -- Replace F2 with your key to bind :^^: function doIT(execute) executeCommandHandler("openMe", execute) end addEventHandler("onClientResourceStart", resourceRoot, function () bindKey(Key, "down", doIT) outputChatBox("seccessfully", 0,255,0) end ) وسوي ملف بصيغة Client.lua وحط الكود فيه بعدين سوي ملف بصيغة meta.xml وحط ذا الكود فيه ثم أجمع الملفين في ملف مضغوط بصيغة zip وشغله
-
طلبك مثل ماهو فوق وضح أكثر وش ظيفته
-
كذا صح ؟ bindKey (string F3, string F3, function /kill ) executeCommandHandler (string kill) حاس اني جبت العيد تفضل سويته لك + حاول تعتمد على نفسك وتركز بالأكواد شوي -- Client Side Functions ! local Key = "F2" -- Replace F2 with your key to bind :^^: function doIT(execute) executeCommandHandler("openMe", execute) end addEventHandler("onClientResourceStart", resourceRoot, function () bindKey(Key, "down", doIT) outputChatBox("seccessfully", 0,255,0) end )
-
طيب ؟؟ الحين لو الاعب عمل setElementData(v, ...... ) رح يجيله بالديبوق argumnt 1, ( a nil value ) فــ كيف رح يحط قيمة للداتا اذا هي nil ولا رح يسوي لوب ثاني كمان ؟ لو حط قيمة للداتا true ما في داعي انه يتحقق من القيمة هيك يعني setElementData(v,"Dataname",true) قصدك أي قيمة داتا أحطها --مثلا setElementData( Me, "name", true) --كذا مارح يتحقق ويجي يقول لي Me = nil --ولا ؟
-
خخخخ أجل ذي شطحة سويتها أعتبرها ممسوحة من الكود لاتناظرها ههههههههه
-
اها هههههههه عرفت خلاص لاكن أظن انو ال end تسوي انهاء للشرط واللي بعدها رح يكون تكملة الحدث او اللي خارج الشرطية ولا انا غلطان
-
طيب ؟؟ الحين لو الاعب عمل setElementData(v, ...... ) رح يجيله بالديبوق argumnt 1, ( a nil value ) فــ كيف رح يحط قيمة للداتا اذا هي nil ولا رح يسوي لوب ثاني كمان ؟
-
تتحقق من القيمة نفسها ؟ حط else على الاقل مب تحط اذا الكلمة تساوي نفس الكلمة يعني بوريك مثال للي انت سويته function Any (msg) if msg == msg then -- wtf !!!!! print("did You drink something ?") end end Any("LoOs is cool") غير كذا كيف تحول سترنق لسترنق ؟ addEventHandler( 'onPlayerChat', getRootElement(), function ( msg ) local timerT = 5000 -- Timer time to do . if isTimer ( Timer ) then -- if the timer not stopped then do : leftT , executeR, Texecute = getTimerDetails(Timer) -- get Timer Remaining Time outputChatBox('#Please wait' .. leftT / 1000 .. ' seconds to can say in chat again', source, 255,0,0, true) cancelEvent() return end if ( msg == tostring(msg) ) then -- if player said in the chat then set Timer Timer = setTimer (function() end, tonumber(timerT), 1) else return end end ) كذا يعجبك ؟
-
لو كنت تبي تعطي دم ودرع للاعبين محددين حسب سيريالهم مثلا تقدر تستخدم ذا الكود : Table = { ["3FF2E7C91279184D3104A1ACCA7F3B03"] = true, --["serial2"] = true, --["serial3"] = true, --["serial4"] = true, } for i,v in ipairs(getElementsByType("player")) do local playerSerial = getPlayerSerial(v) if Table[playerSerial] then setPedArmor ( v, 100 ) setElementHealth ( v, 100) end end
-
وش الطريقة الي تحب ادفعلك فيها مابي فلوس سلآمتك أهم شي
-
سوي ملف Server.lua وحط فيه الكود وسوي ملف ميتا وحطهم بملف مضغوط zip وشغله ^^