Jump to content

☠ RaZeR ☠

Members
  • Posts

    569
  • Joined

  • Last visited

2 Followers

About ☠ RaZeR ☠

  • Birthday January 11

Details

  • Gang
    ❤-|W.T||-❤
  • Location
    Qatar

Recent Profile Visitors

2,080 profile views

☠ RaZeR ☠'s Achievements

Mack

Mack (28/54)

1

Reputation

  1. حطيتها لوكل بلير , نفس المشكله #
  2. lvel = guiCreateLabel(989, 690, 146, 15, "انت في المستوى 2", false) function ttt3( ) triggerServerEvent ( "foxfixx123", root, guiGetText ( lvel ) ) end setTimer(ttt3, 500, 0) addEvent ( 'foxfixx2', true ) addEventHandler ( 'foxfixx2', root, function ( ttxtt3 ) if ( ttxtt3 == "انت في المستوى 2" ) then outputChatBox ( 'انت في المستوى الثاني#', 255,255,255,true ) else outputChatBox ( '# لست في المستوى الثاني', 255,255,255,true ) end) addEvent ( 'foxfixx123', true ) addEventHandler ( 'foxfixx123',root, function ( ttxtt3 ) triggerClientEvent ( root, 'foxfixx2', root, ttxtt3 ) end )
  3. لا القوس حق الاغلاق انا حاطه بس نسيت احطه هنا نفس المشكلة !
  4. سلام عليكم ورحمة الله وبركاته عندي مشكله بالديبوق client : function ttt3( ) triggerServerEvent ( "foxfixx123", root, guiGetText ( lvel ) ) end setTimer(ttt3, 500, 0) addEvent ( 'foxfixx2', true ) addEventHandler ( 'foxfixx2', root, function ( ttxtt3 ) guiSetVisible (Wndanswr, false) end Server : addEvent ( 'foxfixx123', true ) addEventHandler ( 'foxfixx123',root, function ( ttxtt3 ) triggerClientEvent ( root, 'foxfixx2', root, ttxtt3 ) end )
  5. تم حل المشكلة شكرا @#,+( _xiRoc[K]; > والباقي
  6. done = guiCreateButton(558, 162, 118, 37, "Done", false) edit2 = guiCreateEdit(348, 82, 143, 39, "2", false) edit3 = guiCreateEdit(322, 139, 174, 60, "3", false) edit1 = guiCreateEdit(558, 101, 116, 37, "1", false) local screenWidth, screenHeight = guiGetScreenSize ( ) LVL3 = guiCreateLabel(989, screenHeight - 120, screenWidth, screenHeight, "goooooooooooooooooood", false) addEventHandler ( 'onClientGUIClick', root, function ( ) if ( source == done ) then triggerServerEvent ( "but55lvl1", root ) LVL1N ( ) end end ) addEvent ( '1but55lvl1', true ) function LVL1N ( ) if ( guiGetText ( edit2 ) == guiGetText ( edit3 ) ) then if ( guiGetText ( edit1 ) == "1" ) then guiSetVisible (done, false) guiLabelSetColor(LVL3, 0, 255, 0) outputChatBox( "#0099CC[ ACEEPTED] ] : #ff0000" , 255 , 0 , 0 , true ) else ----------- قصدي هنا على افــ الاولى guiSetVisible (done, true) guiLabelSetColor(LVL3, 255, 0, 0) outputChatBox( "#0099CC[ REFUSED] ] : #ff0000" , 255 , 0 , 0 , true ) end end addEventHandler ( '1but55lvl1', root, LVL1N ) هذا الاختصار
  7. سويت تعديل وحطيت كل شي !
  8. المشكلة الشرط ذا مب شغال if ( guiGetText ( edit2 ) == guiGetText ( edit3 ) ) then outputChatBox( "#0099CC[ ACEEPTED] number1 ] : #ff0000" , 255 , 0 , 0 , true ) مايطلع شي في الشات او يتنفذ الفنكشن كلنت done = guiCreateButton(558, 162, 118, 37, "Done", false) edit2 = guiCreateEdit(348, 82, 143, 39, "2", false) edit3 = guiCreateEdit(322, 139, 174, 60, "3", false) edit1 = guiCreateEdit(558, 101, 116, 37, "1", false) local screenWidth, screenHeight = guiGetScreenSize ( ) LVL3 = guiCreateLabel(989, screenHeight - 120, screenWidth, screenHeight, "goooooooooooooooooood", false) addEventHandler ( 'onClientGUIClick', root, function ( ) if ( source == done ) then triggerServerEvent ( "but55lvl1", root ) LVL1N ( ) end end ) addEvent ( '1but55lvl1', true ) function LVL1N ( ) if ( guiGetText ( edit2 ) == guiGetText ( edit3 ) ) then LVL1T( ) outputChatBox( "#0099CC[ ACEEPTED] number1 ] : #ff0000" , 255 , 0 , 0 , true ) else LVL1F( ) end end addEventHandler ( '1but55lvl1', root, LVL1N ) function LVL1T ( ) if ( guiGetText ( edit1 ) == "1" ) then triggerServerEvent ( 'TRUE11', localPlayer ) LVL1TT( ) else cancelEvent () end end function LVL1TT( ) guiSetVisible (done, false) guiLabelSetColor(LVL3, 0, 255, 0) outputChatBox( "#0099CC[ ACEEPTED] ] : #ff0000" , 255 , 0 , 0 , true ) end addEvent ( 'TRUE1', true ) addEventHandler ( 'TRUE1', root, LVL1TT ) function LVL1F( ) if ( guiGetText ( edit1 ) == "1" ) then LVL1FF( ) else cancelEvent () end end function LVL1FF( ) guiSetVisible (done, true) guiLabelSetColor(LVL3, 255, 0, 0) outputChatBox( "#0099CC[ REFUSED] ] : #ff0000" , 255 , 0 , 0 , true ) end سيرفر local lvlchhhh12 = {"Team1", "Team2", "Team3"} addEvent('but55lvl1',true) addEventHandler('but55lvl1', root , function ( ) for i=1, #lvlchhhh12 do local team88 = getTeamFromName(lvlchhhh12[i]) -- teams[i] means, teams[1], teams[2], teams[3], teams[4] (returns the value for each) if team88 then for _,v in ipairs ( getPlayersInTeam ( getTeamFromName(lvlchhhh12[i]) ) ) do triggerClientEvent(v,'1but55lvl1',v) end end end end) addEvent ( 'TRUE11', true ) addEventHandler ( 'TRUE11', root, function ( ) triggerClientEvent ( root, 'TRUE1', root ) end )
  9. المشكلة الكودد مرهه طويل !
  10. شايف setElementData(root, "lvls11", false) setElementData(root, "lvls22", true) guiSetVisible (LVL1, true) guiSetAlpha ( LVL1, 1 ) guiLabelSetColor(LVL1, 0, 255, 0) outputChatBox( "#0099CC[ ACEEPTED] ] : #ff0000" , 255 , 0 , 0 , true ) triggerServerEvent ( "lvlv", root ) setElementData(root, "lvls11ss", true) ابيهم يتسوووا اذا الكلام اللي في الاديت الاول يساوي الكلام اللي في الاديت الثاني لتيمات معينة
  11. سويت وما اشتغل ! كلنت ! function LVL1T ( ) if ( guiGetText ( lvel ) == "1" ) then triggerServerEvent ( 'TRUE11', localPlayer ) else cancelEvent () end end addEvent ( 'TRUE1', true ) function LVL1TT( ) setElementData(root, "lvls11", false) setElementData(root, "lvls22", true) guiSetVisible (LVL1, true) guiSetAlpha ( LVL1, 1 ) guiLabelSetColor(LVL1, 0, 255, 0) outputChatBox( "#0099CC[ ACEEPTED] ] : #ff0000" , 255 , 0 , 0 , true ) triggerServerEvent ( "lvlv", root ) setElementData(root, "lvls11ss", true) end addEventHandler ( 'TRUE1', root, LVL1TT ) سيرفر هنا ماحطيت كل اللاعبين انا حطيت الي في تيم محدد ! local lvlchhhh22 = {"Team1", "Team2", "Team3"} addEvent ( 'TRUE11', true ) addEventHandler ( 'TRUE11', root, function ( ) for i=1, #lvlchhhh22 do local team88 = getTeamFromName(lvlchhhh22[i]) if team88 then for _,v in ipairs ( getPlayersInTeam ( getTeamFromName(lvlchhhh22[i]) ) ) do triggerClientEvent ( root, 'TRUE1', root ) end end end end )
  12. ابي اخفي الزر عند الكل ! .....
  13. setPlayerMoney ( source, mmm ) لو ابي احط مكانها guiSetVisible (Done, false) وتظهر لكل الاعبين
  14. شوف في زر اوك ابي اذا اي لاعب ضغط عليه يسوي تحقق او شرط اللي هو if اذا الكلام اللي في الديت الاول = الكلام في الديت الثاني اذا تحقق الشرط يطلب فنكشن معين واذا ما تحقق يطلب فنكشن ثاني
  15. الشرح واضح ويفهم المطلوب !
×
×
  • Create New...