-
Posts
1,862 -
Joined
-
Days Won
8
Posts posted by Rockyz
-
-
لول شيء سهل اذا تبي الصورة تدور
speed = 0 addEventHandler('onClientRender',root, function ( ) speed = speed + 4 dxDrawImage(..........,speed) end)
طيب فهمني عشان افهم الكود
-
اينكم ياناس
العالم تصلي
انشهد انهم يصلون
وقت الرسالة ووقت الاذان ..
-
طيب هو قال يبي شرح الأنيميشن ، ما اظن فهم شيء
يب انا مافهمت شي لاكن ابي طلب ثاني ان كيف اربط تريقر مع زر
-
Animations . افتح هذا الموقع وابحث عن الانميشن الذي تريده
. إو ابحث عن الانيمشنات بـ الفري روم
وإستخدم هذه الاكواد
--Server addEventHandler ( 'onPlayerLogin', root, function ( ) setPedAnimation( source, "AIRPORT", "thrw_barl_thrw") end ) --Client addCommandHandler ( 'Anim', function ( ) setPedAnimation( localPlayer, "AIRPORT", "thrw_barl_thrw") end )
مو ذة الي قصدي عقيد
قصدي انميشن يعني مثل صورة تدور وكذا
-
اينكم ياناس
-
ابي حل
outputChatBox("laser on", 245,0,0)
اخليه جوي مسج
كذا
اذا تبي الكلام يطلع للكل استخدم :
exports["guimessages"]:outputServer(root, "* Laser On", 0, 255, 255)
واذا تبي يطلع الكلام بس للاعب نفسه استخدم :
exports["guimessages"]:outputClient("* Laser On")
بالنسبة للكود الثاني اذا تبي يطلع ملون جرب خل الاكواد مال الالوان
اتمنى افدتك
طبعا بتقول ليش عطيتك واصلا عطوك
بس للاضافة ادا تبيه لكل الاعبين
-
السلام عليكم
outputChatBox("laser on", 245,0,0)
كيف اخليها بالجوي مسج
كذا
اذا تبي الكلام يطلع للكل استخدم :
exports["guimessages"]:outputServer(root, "* Laser On", 0, 255, 255)
واذا تبي يطلع الكلام بس للاعب نفسه استخدم :
exports["guimessages"]:outputClient("* Laser On")
بالنسبة للكود الثاني اذا تبي يطلع ملون جرب خل الاكواد مال الالوان
اتمنى افدتك
-
السلام عليكم
ابي شرح الانميشن Animation
يعني مثلا صورة تدور وكذا
والسلام عليكم
-
Server :
addEventHandler ( "onVehicleExplode", resourceRoot, function ( ) if ( isElement ( Vehicle[source] ) ) then destroyElement ( Vehicle[source] ) Vehicle[source] = nil end end )
+
فيه واحد عدل الكود مادري ليه تحط كودك
وثآني شيء ماشوف بالموضوع احد طلب لما تنفجر السياره
او يطلع اللاعب تختفي السياره
انا ماسويت شي غير اني حطيت ---
-
Server :
---Server local Vehicle = { }; addEvent ( "GiveCar", true ) addEventHandler ( "GiveCar", root, function ( ) if ( isElement ( Vehicle[source] ) ) then destroyElement ( Vehicle[source] ) else local x, y, z = getElementPosition ( source ) Vehicle[source] = createVehicle ( 411, x, y, z ) addVehicleUpgrade ( Vehicle[source], 1074 ) addVehicleUpgrade ( Vehicle[source], 1087 ) addVehicleUpgrade ( Vehicle[source], 1010 ) outputChatBox("Welcome To The Car", source, 255, 255, 0) warpPedIntoVehicle ( source, Vehicle[source] ) end end ) addEventHandler ( "onVehicleExplode", resourceRoot, function ( ) if ( isElement ( Vehicle[source] ) ) then destroyElement ( Vehicle[source] ) Vehicle[source] = nil end end ) addEventHandler ( "onPlayerQuit", resourceRoot, function ( ) if ( isElement ( Vehicle[source] ) ) then destroyElement ( Vehicle[source] ) Vehicle[source] = nil end end )
Client :
---Client addEventHandler ( "onClientResourceStart", resourceRoot, function ( ) GUIEditor.window[1] = guiCreateWindow(336, 137, 402, 480, "VIP Panel", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.label[1] = guiCreateLabel(10, 446, 156, 30, "Created By #Monster", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-small") guiLabelSetColor(GUIEditor.label[1], 254, 0, 0) Vbtn = guiCreateButton(23, 72, 126, 49, "CreateVehicle", false, GUIEditor.window[1]) guiSetProperty(Vbtn, "NormalTextColour", "FFAAAAAA") Dmg = guiCreateButton(251, 72, 126, 49, "No Vehicle Dmg", false, GUIEditor.window[1]) guiSetProperty(Dmg, "NormalTextColour", "FFAAAAAA") Weapon = guiCreateButton(23, 178, 126, 49, "VIP Weapons", false, GUIEditor.window[1]) guiSetProperty(Weapon, "NormalTextColour", "FFAAAAAA") Stats = guiCreateButton(251, 178, 126, 49, "VIP Stats", false, GUIEditor.window[1]) guiSetProperty(Stats, "NormalTextColour", "FFAAAAAA") Skin = guiCreateButton(23, 281, 126, 49, "VIP Skin", false, GUIEditor.window[1]) guiSetProperty(Skin, "NormalTextColour", "FFAAAAAA") Health = guiCreateButton(251, 281, 126, 49, "VIP Health / Armor", false, GUIEditor.window[1]) guiSetProperty(Health, "NormalTextColour", "FFAAAAAA") Close = guiCreateButton(40, 361, 317, 49, "Close VIP Panel ", false, GUIEditor.window[1]) guiSetProperty(Close, "NormalTextColour", "FFAAAAAA") end ) bindKey ( "F5", "down", function ( ) \ guiSetVisible ( GUIEditor.window[1], not guiGetVisible ( GUIEditor.window[1] ) ) showCursor ( guiGetVisible ( GUIEditor.window[1] ) ) end ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == Vbtn ) then triggerServerEvent ( "GiveCar", localPlayer ) end end )
ماجربته
+
اتمنى افدتك
-
بيفهمون في الاخير ض1 ادا ركبوا المود وجربوا
الأفضل أنك ما تعدلها
وش الفائدة اذا حذفتها ؟؟ !!
كلهم مو مهمين اصلا
خربطة في خربطة وش الفايدة
-
طيب وش الفايدة من مسحها ؟
غيرك يبي يستفيد خليه مو تمسح كل شيء
بنسبة هذا الموضوع حق لوحة ريبورت
بيفهمون في الاخير ض1 ادا ركبوا المود وجربوا
-
.
-
اسف تاخرت لطرح المود
ماكنت موجود رحت مشوار
الزبده ذا هوا المود
GUIEditor_Memo = {} GUIEditor_Label = {} wnd = guiCreateWindow(292,89,463,488,"# - [ الشكاوي والاقتراحات ] - #",false) GUIEditor_Label[1] = guiCreateLabel(356,44,91,16,"عنوان الموضوع : ",false,wnd) guiSetFont(GUIEditor_Label[1],"default-bold-small") GUIEditor_Memo[1] = guiCreateMemo(29,69,388,44,"",false,wnd) GUIEditor_Label[2] = guiCreateLabel(1,113,447,38,"-------------------------------------------------------------------------------------------------",false,wnd) guiSetFont(GUIEditor_Label[2],"sa-gothic") GUIEditor_Label[3] = guiCreateLabel(393,147,59,20,"الرساله : ",false,wnd) guiSetFont(GUIEditor_Label[3],"default-bold-small") GUIEditor_Memo[2] = guiCreateMemo(14,173,436,118,"",false,wnd) GUIEditor_Label[4] = guiCreateLabel(361,314,94,22,"اسمك في العبه : ",false,wnd) guiSetFont(GUIEditor_Label[4],"default-bold-small") GUIEditor_Memo[3] = guiCreateMemo(13,341,392,44,"",false,wnd) add = guiCreateButton(322,449,132,30,"ارسال الرساله",false,wnd) guiSetFont(add,"default-bold-small") xx = guiCreateButton(52,449,132,30,"اغلاق الوحه",false,wnd) guiSetFont(xx,"default-bold-small") addEventHandler("onClientGUIClick",root, function () if ( source == xx ) then guiSetVisible( wnd ,false) showCursor(false) end end ) guiSetVisible (wnd, false) function OpenWin() if guiGetVisible ( wnd ) then guiSetVisible ( wnd, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( wnd, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F10", "down", OpenWin) addEventHandler ("onClientGUIClick",root,function () if source == add then local tableOut = {} tableOut.category = "العنوان في الاسفل " tableOut.subject = "تم ارسال الشكوى" tableOut.message = ""..guiGetText (GUIEditor_Memo[3]).."\n"..guiGetText (GUIEditor_Memo[2]).."/n"..guiGetText (GUIEditor_Memo[1]).."" triggerServerEvent ( "aMessage", getLocalPlayer(), "new", tableOut ) end end) addEventHandler('onClientGUIClick',root, function () if ( source == add ) then guiSetEnabled ( add, false ) setTimer( guiSetEnabled, 30000, 1, add, true ) outputChatBox(" #000000.:[#ffffff تم الارسال الرجاء الانتضار 30 ثانية لي الارساله مره اخرى #000000]:. ",255,255,255,true) end end )
أنشاء الله يعجبك واذا ماعجبك انت شوف كيف انا سويته وسوي لوحه ثانيه واستخدم نفس الى بي الاكواد المطروحه فوق ^^
مشكووور
بيتر نكست
تمت الافادة
-
Deleted.
-
Deleted.
-
Deleted.
-
Deleted.
-
Deleted.
-
Deleted.
-
Deleted.
-
-
Deleted.
-
كيف مسوي تريقر ومافي سيرفر سايد
إذآ تبي تعرب الريبورت عربه من الادمنيه
اما انك تبي تسوي واحد مآراح تعرف !
انا مابي اعرب انا ابي اعرف عشان ادا بسوي شي - _ -
ابي شرح الانميشن
in البرمجة
Posted
dxDrawImage(..........,speed)
الي هو
مافهمته