Mohamed_king Posted May 13, 2017 Share Posted May 13, 2017 السلام عليكم انا عامل لوحة شوب اسلحة نبي فنشنكات Link to comment
Doffy Posted May 13, 2017 Share Posted May 13, 2017 1 minute ago, Mohamed_king said: السلام عليكم انا عامل لوحة شوب اسلحة نبي فنشنكات مسويها بجدول ولا عادية ؟ Link to comment
Mohamed_king Posted May 13, 2017 Author Share Posted May 13, 2017 Just now, #Himoo said: مسويها بجدول ولا عادية ؟ عادية Link to comment
Doffy Posted May 13, 2017 Share Posted May 13, 2017 (edited) --Client onClientGUIClick triggerServerEvent --Server takePlayerMoney giveWeapon Edited May 13, 2017 by #Himoo Link to comment
Mohamed_king Posted May 13, 2017 Author Share Posted May 13, 2017 1 minute ago, #Himoo said: --Client onClientGUIClick triggerServerEvent --Server takePlayerMoney giveWeapon مشكور اخي Link to comment
Doffy Posted May 13, 2017 Share Posted May 13, 2017 Just now, Mohamed_king said: مشكور اخي العفو Link to comment
^iiEcoo'x_) Posted May 13, 2017 Share Posted May 13, 2017 local aTable_ = { { aButton1_ , 23 }, { aButton2_ , 31 } --{ button name , weapon id } } addEventHandler ( 'onClientGUIClick' , root , function ( ) for _ , v in ipairs ( aTable_ ) do end if ( source == v[1] ) then triggerServerEvent ( 'GiveWeapon' , localPlayer , v[2] ) end end ) كمل الترايقر Link to comment
!#NssoR_) Posted May 13, 2017 Share Posted May 13, 2017 1 minute ago, #_iMr.[E]coo said: local aTable_ = { { aButton1_ , 23 }, { aButton2_ , 31 } --{ button name , weapon id } } addEventHandler ( 'onClientGUIClick' , root , function ( ) for _ , v in ipairs ( aTable_ ) do end if ( source == v[1] ) then triggerServerEvent ( 'GiveWeapon' , localPlayer , v[2] ) end end ) كمل الترايقر x 1 Link to comment
^iiEcoo'x_) Posted May 13, 2017 Share Posted May 13, 2017 Just now, !#NssoR_) said: x لا ! يعني ما تزبط Link to comment
#BrosS Posted May 13, 2017 Share Posted May 13, 2017 (edited) 17 minutes ago, #_iMr.[E]coo said: local aTable_ = { { aButton1_ , 23 }, { aButton2_ , 31 } --{ button name , weapon id } } addEventHandler ( 'onClientGUIClick' , root , function ( ) for _ , v in ipairs ( aTable_ ) do end if ( source == v[1] ) then triggerServerEvent ( 'GiveWeapon' , localPlayer , v[2] ) end end ) كمل الترايقر 11 minutes ago, #_iMr.[E]coo said: لا ! يعني ما تزبط Edited May 13, 2017 by #BrosS Link to comment
#DRAGON!FIRE Posted May 13, 2017 Share Posted May 13, 2017 كيف حاط الاكواد خارج اللوب ؟ .. + لازم توقف اللوب لمن السورس يكون هو الزر Link to comment
coNolel Posted May 14, 2017 Share Posted May 14, 2017 شكلها كذا يمكن انت ما تنبهت وغلطت بمكان الإند local aTable_ = { { aButton1_ , 23 }, { aButton2_ , 31 } --{ button name , weapon id } } addEventHandler ( 'onClientGUIClick' , root , function ( ) for _ , v in ipairs ( aTable_ ) do if ( source == v[1] ) then triggerServerEvent ( 'GiveWeapon' , localPlayer , v[2] ) end end end ) Link to comment
Master_MTA Posted May 14, 2017 Share Posted May 14, 2017 56 minutes ago, coNolel said: شكلها كذا يمكن انت ما تنبهت وغلطت بمكان الإند local aTable_ = { { aButton1_ , 23 }, { aButton2_ , 31 } --{ button name , weapon id } } addEventHandler ( 'onClientGUIClick' , root , function ( ) for _ , v in ipairs ( aTable_ ) do if ( source == v[1] ) then triggerServerEvent ( 'GiveWeapon' , localPlayer , v[2] ) end end end ) you forgot stop the loop حط كلمة break بعد سطر التراقر Link to comment
Adham Posted May 14, 2017 Share Posted May 14, 2017 جرب -- Client local aTable_ = { { aButton1_ , 23 }, { aButton2_ , 31 } --{ button name , weapon id } } addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) for _ , v in ipairs ( aTable_ ) do if source == v[1] then triggerServerEvent ( 'GiveWeapon' , localPlayer , v[2] ) break end end end ) -- Server addEvent ( 'GiveWeapon', true ) addEventHandler ( 'GiveWeapon', root, function (ID) giveWeapon(source,ID,200) end ) 1 Link to comment
Dr.Marco Posted May 15, 2017 Share Posted May 15, 2017 اظن ان الاخ لي فوق ساعده لو هو طلب متال فساعدوه مادام ما طلب لا ترفعون مواضيع قديمة Link to comment
^iiEcoo'x_) Posted May 15, 2017 Share Posted May 15, 2017 3 hours ago, Dr.Marco said: اظن ان الاخ لي فوق ساعده لو هو طلب متال فساعدوه مادام ما طلب لا ترفعون مواضيع قديمة كيف ساعده وهو معطيه فنكشنات غلط Link to comment
Dr.Marco Posted May 15, 2017 Share Posted May 15, 2017 On 13/5/2017 at 08:17, Mohamed_king said: مشكور اخي على ما اظن لما قال شكرا فلقد استفاد 1 Link to comment
Mohamed_king Posted May 28, 2017 Author Share Posted May 28, 2017 مشكورين شباب انا قلت استفد ف موضوع صح فنشنكات خطا بس حصلت صديقي ساعدني ومشكورين Link to comment
^iiEcoo'x_) Posted May 28, 2017 Share Posted May 28, 2017 1 minute ago, Mohamed_king said: مشكورين شباب انا قلت استفد ف موضوع صح فنشنكات خطا بس حصلت صديقي ساعدني ومشكورين اهلين 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now