-
Posts
224 -
Joined
-
Last visited
Everything posted by MrBiG
-
local Marker_CustomCJ = createMarker(2491.53833, -1667.44861, 12.25, "cylinder", 2, 0, 0, 255, 100) --//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\ gridlist=guiCreateGridList(0.76, 0.31, 0.20, 0.53, true) guiGridListAddColumn(gridlist, "Clothes", 0.9) guiSetVisible(gridlist, false) --//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\ local TshirtANDShirt= { --[[0-Head, 1-Hair, 2-Trousers, 3-Shoes, 4/12-Tattoo, 13-Necklaces, 14-Watches, 15-Glasses, 16-... on Hair, 17-Specials]] [1]={"player_torso", "torso", "0", "T-Shirt #1" }, [2]={"vestblack", "vest", "0", "T-Shirt #2" }, [3]={"tshirt2horiz", "tshirt2", "0", "T-Shirt #3" }, } --//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\ function CustomCJ_Start() guiGridListClear(gridlist) local row = guiGridListAddRow(gridlist) guiGridListSetItemText(gridlist, row, 1, "T-Shirt's & Shirt's", true, false) for i,v in ipairs(TshirtANDShirt) do local row = guiGridListAddRow(gridlist) guiGridListSetItemText(gridlist, row, 1, v[4], false, false) guiGridListSetItemData( gridlist , row , 1 , {v[1] , v[2], v[4]} ) end end --//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\ addEventHandler("onClientMarkerHit", Marker_CustomCJ , function(el, md) if el~=localPlayer then return end if getElementModel(el) == 0 then showCursor(true, false) guiSetVisible(gridlist,true) CustomCJ_Start() --addPedClothes(el, "tshirt2horiz", "tshirt2", 0) it's for a test else outputChatBox("#ffffffThis is only for #ff0000ID 0 (CJ)", 0, 0, 0, true) end addEventHandler("onClientMarkerLeave", Marker_CustomCJ , function() showCursor(false) guiSetVisible(gridlist,false) --removePedClothes(localPlayer, 0, "tshirt2horiz", "tshirt2") It's for a test end) addEventHandler("onClientGUIClick", gridlist, function() local selectedRow=guiGridListGetSelectedItem(gridlist) if selectedRow < 0 then return end local model=guiGridListGetItemText(gridlist, selectedRow, 1) local Items = guiGridListGetItemData(source, guiGridListGetSelectedItem(source), 1) addPedClothes ( localPlayer, Items[1], Items[2], Items[3] )--- - - - - 46 line ! !! ! !! ! ! ! ! end) addEventHandler("onClientGUIDoubleClick", gridlist, function() guiSetVisible(gridlist, false) showCursor(false) end) end) I don't try it
-
function Nightmare( ) local hour,minutes = getTime( ) if ( hour >= 6 ) and ( hour < 12 ) then local sound = playSound ( "day.mp3" ) elseif ( hour >= 12 ) and ( hour < 15 ) then local sound = playSound ( "day.mp3" ) elseif ( hour >= 15 ) and ( hour < 20 ) then local sound = playSound ( "night.mp3" ) elseif ( hour >= 20 ) and ( hour < 24 ) then local sound = playSound ( "night.mp3" ) end setTimer(function() if ( isElement ( sound ) ) then destroyElement ( sound ) end end , 3000 , 1 ) end addEventHandler ( "onClientResourceStart" , resourceRoot , Nightmare ) how the sound will start?
-
local x, y, z = getElementPosition(player) local cx, cy, cz = getElementPosition(player) roll = -0.8*math.deg(math.asin(z)) local player = getElementPosition(getLocalPlayer()) setCameraMatrix(x-0.55, y+1, z+0.5, cx-0.55, cy-0.2, cz+0.55, roll)
-
in your example you cann't you can know any color code from this web site https://html-color-codes.info/
-
Yes, you can only if the car source is one
-
you are very speed
-
in localhost you can but in else host you cann't
-
go to this path mods/deathmatch/acl.xml in your host and edit on acl if you down , you will see this code <group name="Console"> <acl name="Moderator"></acl> <acl name="SuperModerator"></acl> <acl name="Admin"></acl> <acl name="RPC"></acl> <object name="user.Console"></object> -- delete console and add your account name example: <object name="user.fighter"></object> </group>
-
createObject -- see his function in wiki
-
أخي ملف الdll هو بكون محتوى اكواد اي لغة برمجة يعني ما في لغة اسمها dll ممكن يحتوي برمجية c++
-
السلام عليكم ورحمة الله وبركاتة كيف الحال بدون مقدمات يوجد موقع يسعى الى تطوير مهارات المبرمجين العرب عن طريق تقديم دورات تعليم برمجة مجانية لأي متجه برمجي طريقة عمل الدورة يوجد دروس يحتوي كل درس على مراحل المراحل تكون فيديوهات وتحديات برمجية واختبارات يعني يتم طلب منك مشروع برمجي في اخر الدرس ويكون عن الدرس الذي خضته ويتم اعطاء كل شخص يقوم بأنهاء 10 دورات برمجية او لا اعلم التفصيل بضبط على شهادة معتمدة من الموقع يصل عدد مستخدمي الموقع الى 100 الف مستخدم ويمكنك ان تقدم استفسار عن اكواد او ما شابه في الموقع ويوجد طاقم يمكنه من المهندسين سيقومون بمساعدتك على الفور https://www.barmej.com
- 1 reply
-
- 1
-
-
وملف الكلنت بذا addCommandHandler('skinee',function() guiSetVisible(GUIEditor.window[1], true) showCursor(true) end ) GUIEditor = { button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(425, 211, 618, 443, "تعديل", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1], false ) GUIEditor.button[1] = guiCreateButton(42, 274, 254, 84, "start alpha", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(404, 281, 204, 77, "exit", false, GUIEditor.window[1]) end ) addEventHandler('onClientGUIClick',root, onclick ) function onclick () if source == GUIEditor.button[1] then triggerServerEvent ( "replaceTXDDFF.c", localPlayer ) end end addEvent( "replaceTXDDFF.s", true ) function replaceTXDDFF () InfiTexture = engineLoadTXD ( "inf/infernus.txd" ) engineImportTXD ( InfiTexture, 411 ) InfiModel = engineLoadDFF ( "inf/infernus.dff", 411 ) engineReplaceModel ( InfiModel, 411 ) end addEventHandler( "replaceTXDDFF.s", root, replaceTXDDFF )
-
في حالتك ذي بطلع اخطاء في الدي بق اذا مات الشخص والصوت مو شغال من قبل
-
addEventHandler("onClientPlayerWasted",root, function () if ( isElement( sound ) ) then destroyElement ( sound ) end sound = playSound("soundname.mp3") end ) --- اكواد ابو وطن بس عدلت عليهم
-
اول رسالة لك معطي الاعب ميوت وكنسل اليفنت يعني غباء مع احترامي وثاني رسالة انت ارسلتها وانا ارسلت رسالة بنفس الوقت
- 32 replies
-
- help
- guestaccount
-
(and 2 more)
Tagged with:
-
Posted just now اقرأ موجود عند رسالتك ورسالتي الكود ما بده احترف تعديل ايش يبني ما في طريقة غير كذا او الكود حقي انا سويتو كمان مشان ما تفكر نفسك محترف function sayChat( ) local getData = getElementData( source , "spamLogin" ) if ( getData == true ) then outputChatBox( "Please Login first that" , source , 255 , 0 , 0 ) cancelEvent( ) end end addEventHandler( "onPlayerChat" , getRootElement() , sayChat ) function takeData( ) setElementData ( source, "spamLogin", false ) end addEventHandler("onPlayerLogin", getRootElement() , takeData ) function setData ( ) setElementData ( source, "spamLogin", true ) end addEventHandler ( "onPlayerJoin" , getRootElement() , setData )
- 32 replies
-
- help
- guestaccount
-
(and 2 more)
Tagged with:
-
سبقتني بثانية WTF
- 32 replies
-
- help
- guestaccount
-
(and 2 more)
Tagged with:
-
addEventHandler( "onPlayerChat" , resourceRoot , function ( ) Acc = getPlayerAccount ( source ) if isGuestAccount ( Acc ) then cancelEvent ( ) outputChatBox ( "[ You must Login to saw in chat ]" , source , 255 , 50 , 0 ) end end )
- 32 replies
-
- help
- guestaccount
-
(and 2 more)
Tagged with:
-
wOw 'or' WoW اقتراح: لو تحط زر تجميد الاعب وزر انتقال كونها لوحة تحكم بالاعبين يعني
-
so cool بس لو تحط checkbox يظهر كلمة السر ويشيلها بكون افضل
-
حلو بس لو تضع زر يظهر نطاق الحماية على الخريطة ويعطلو القصة سهله ومفيده
-
حلو بس مو شايف اي شي جديد فيه فكرة مثلاً
-
أخي اول شي انت حافظ الحسابات بقاعدة بيناتات؟ للحضر Column اذا حافظهم ضيف بعدها سوي قيمتو الديفولت default False ولما يسجل دخول خله يسوي تحقق من قيمة الباند اذا هي شغاله خله ما يسجل ويحطه بصفحة ويقلو الحساب محظور على جملة if
-
عـليه أفضـل الصـلاه وأتـم التـسليـــم نبي اللـه
