Jump to content

Max+

Members
  • Posts

    1,363
  • Joined

  • Last visited

Everything posted by Max+

  1. بعد اذنك , ودي اعرف وش الفايدة يجيب الحساب , يمكن الاعب ماهو مسجل بحساب . . ؟ ؟
  2. طبق كلام اخوي The, Best وشوف يضبط ولا لا . ؟ ؟
  3. addEventHandler("onPlayerJoin",root, function (thePlayer) if getAccountName ( thePlayer ) == "Prestege" then givePlayerMoney ( thePlayer , math.random ( 100,50000 ) ) outputChatBox( thePlayer, "Thank's For the Lesson", getRootElement, 255, 255,0 ) end end )
  4. بالتوفيق لكم حبيبي , وان شاء الله من افضل , السيرفرات ,
  5. يعني لازم الاليمنت الشي اللي تبيه يظهر + لمن يظهر + trua = يظهر false = يختفي setElementVisibleTo(blip, source, false ) --- لاخفاء البلب .
  6. عارف يابعدي قريته قبل مأتنزل ردك , لأكن حأولت اتخطاه عرفت زي الاوامر الثاني تسوي الامر وبعدين fals or true بس غريبه ماضبط حتى هو سواه صح صاحب الموضوع ! بس اتوقع بوق لانه يقول لي يحتاج الفنكشن شيك ,
  7. هاذا بسبب البرنامج حق البرمجه العربي يكتب عكس , مأعليه اهم شي وصلت الفكره وان شاء الله مأنشوف اخطاء في موداتكم في التريقر , اي مشأكل بالتريقر Pm ,
  8. setElementVisibleTo(bilp, false)
  9. السلأم عليكم طبعأ شرحنا في الدرس المأضي عمل triggerServerEvent اليوم بنشرح triggerClientEvent الفرق بينهم triggerServerEvent -- ذي تستخدم في الكلينت و triggerClientEvent -- تستخدم في السيرفر مانطول عليكم الشرح , اذا في اي اخطاء علموني لاني كتبته على السريع , ------Server addEvent( 'SendText', true) --- تعريف الامر local sMessage = 'How To triggerClientEvent' -- الرسالة addEventHandler( 'SendText', root, -- تعريف الامر function ( ) --- وظيفة بدون اسم triggerClientEvent( source, 'Send', source, sMessae ) --- ارسال الامر الى السيرفر + اضافة الاعب + الايفنت + الرسالة المعرفه end -- اغلاق ) --- اغلاق القوس ---Client addEvent ( 'Send', true) ---تعريف امر التريقر addEventHandler( 'Send', localPlayer,--- فقط وليس كل الاعبين تعريف الامر الى الاعب function( sMsg ) -- اضافة اي اسم تحب , outputChatBox( sMsg ) --- ارسا الرساله حسب تعريف الفنكشن -- end -- اغلاق ) --- اغاق القوس addEventHandler( 'onClientResourceStart', resourceRoot, --- عند تشغيل السكربت function() triggerServerEvent( 'SendText', localPlayer ) --- ارسال الامر اى السيرفر + الاعب end -- انهاء )---- اغلاق
  10. Max+

    Nick Problem

    He have a table with nicknames for examople if there is 2 names table like this , Max+ Pristage - EstrategiaGta if max Choose nick Preistage then set his account name and to Prestage no his orgnail name ,
  11. Returns true if the element's visibility was changed successfully, false otherwise
  12. Great Script it's useful , Keep it Up Pain !
  13. https://wiki.multitheftauto.com/wiki/Slo ... mbieWasted
  14. Yeb it's onZombieWasted if you using zombie script by Slothman , onPedWasted if not ,
  15. هههههههههههههههه خربهأ برستيج ضضض1
  16. Make Sure Freeroam is Off and Try This , addEventHandler('onPlayerCommand', root, function ( cmd ) if ( cmd ) == 'ping' then cancelEvent ( ) outputChatBox('Your Ping'.. getPlayerName(source), root, 255, 255, 0 , true) end end )
  17. No , Problem Man Wating For You ..
  18. if (getElementsByType(player ) == 'player' then warpPedIntoVehicle(player, car ) This function is used to retrieve a list of all elements ,, هو يبي لشخص مأيبي للجميع ,
  19. Fixed , if getElementType(player) == "player" then warpPedIntoVehicle(player, car )
  20. Try This , function give(button,state) if button == "left" and state == "down" then local row,col = guiGridListGetSelectedItem(paineldayz.gridlist[1]) if (row and col and row ~= -1 and col ~= -1) then local itemName = guiGridListGetItemText(paineldayz.gridlist[1], row,col, 1) if itemName then local text = guiGetText(paineldayz.edit[1]) setElementData(localPlayer, text, itemName, true) -- code end else outputChatBox("Please select a item from the list.",220,0,0) end end end
  21. if you using source dont defined it on function like this function mm ( source ) That's wrong use it in functions like this getPlayerName(source)
  22. You want if player select an item then Press the Weapon outputChatBox(getPlayerName(localPlayer ) .. 'Have Bought .. itemNameHere ?
×
×
  • Create New...