• Announcements

    • jhxp

      Forums are online again after a maintenance.   18/03/17

      MTA Forums maintenance is completed, although some automatic time-heavy tasks are still in process and will be finished eventually in background. Expect some features such as Forum Search to not display all results until all processes are finished. Please let us know if you spot a forum feature that worked correctly before the maintenance but does not work anymore now. Thanks. --MTA Team

Deativated

Members
  • Content count

    1,758
  • Joined

  • Last visited

Community Reputation

21 Decent

1 Follower

About Deativated

  • Rank
    Loc

Details

  • Gang
    #[Alex]
  • Location
    #Saudi Arabia
  • Interests
    #Soon

Recent Profile Visitors

855 profile views
  1. اكيد غير مسجل .؟
  2. @Abdul KariM قصدك هكذا ؟؟ local data = getElementData( player,'dataname' ) if ( data ) then
  3. outputChatBox( "the player name "..getAccountName(player).." and he is data "..data.." ",root,255,255,255,true ) لو جالك خطأ تاني اطرح الدي بق
  4. اطرح سطر 133 .. ونا عدلت الكود خده مره تانيه
  5. اولأ : getElementesByType X getElementsByType ثانيأ انك مب معرف plr ب ملف سرفر جرب addEvent( "showchatdata",true ) addEventHandler( "showchatdata",root, function() for i, player in ipairs ( getElementsByType ( "player" ) ) do local data = getElementData( player,'dataname' ) local acc = getPlayerAccount( player ) if not isGuestAccount( acc ) then outputChatBox('the player name ['..getAccountName(player)..'] and he is data '..data..' .',root,255,255,255,true) else outputChatBox('the player name [not logged in] and he is data '..data..' .',root,255,255,255,true) end end end)
  6. جرب عملته ع السريع عشان عندي مدرسه -- Client -- addEventHandler('onClientGUIClick',root, function ( ) if ( source == delete ) then local Data = guiGridListGetItemText ( Grid, guiGridListGetSelectedItem ( Grid ), 1 ) if Data == "" then outputChatBox ( "حدد اسم", 255,255,255,true ) return end triggerServerEvent ( "Test", localPlayer, Data ) end end ) --Server -- addEvent ( "Test", true ) addEventHandler ( "Test", root, function ( playerData ) if ( getElementData ( source, "Diamond", true ) then local Name = getPlayerFromName ( playerData ) if ( Name ) then setElementData ( Name, "Diamond", false ) end end end )
  7. guiGetText triggerServerEvent getPlayerAccount isGuestAccount getAccount getRealTime string.sub or string.format -- مثال صغير -- لين يخش السرفر يخش اسمه بالقريد لست ويظهر الاسم و الوقت الدخل فيه -- Server Side -- addEventHandler ( "onPlayerJoin", root, function ( ) local Name = getPlayerName ( source ):gsub( "#%x%x%x%x%x%x", "" ) local time = getRealTime( ) local Date = string.format( '%04d-%02d-%02d %02d:%02d', time.year + 1900, time.month + 1, time.monthday, time.hour, time.minute ) triggerClientEvent ( root,"addPlayers", root, Name, Data ) end ) -- Client Side -- addEvent ( "addPlayers", true ) addEventHandler ( "addPlayers", root, function (Name, Data) local row = guiGridListAddRow ( aGridList ) guiGridListSetItemText( aGridList, row, 1, Name, false, false) guiGridListSetItemText( aGridList, row, 2, Data, false, false) end )
  8. جرب addCommandHandler ( "shnohaza", function ( ) local Sound = playSound ( "string soundPath" ) end )
  9. تمت الافاده من قبل مستر ..
  10. افتح سكايب " وكلمني "
  11. Yes
  12. لو تقرأ الموضوع من الاول بيكون أفضل
  13. شف : المشكله في كل هذا ان لما اعمل اكسبورت لمسج بوكس ادوس علي زر تفتح لوحه مسج بوكس error المشكله انا لما اضعط علي زر واضعط علي مره تانيه تظهر الوحه مرتين ورا بعض . Edited 34 minutes ago by Deativated
  14. لأ , لمن اضعطط علي زر البالوحه العاديه تظهر لوحه ايرور بعدين ادوس ع الزر اتاني الب نفس الوحه يجي لوحه ايرور تاني 2 ورا بعض
  15. نو دي بق لما اضعط علي الزار يجي الوحه واضعط عليه مره تانيه يظهر الوحه تاني