AB0 HNAD[e] Posted March 17, 2013 Share Posted March 17, 2013 السلام عليكم ,, هذذآ كود اذا ظظغط وآحد عـ الزر يعطية سسلـآح بس فيهة غلطط ! addEventHandler("onClientGUIClick",root,function () if source == Mafia then -- Mifia آسم آلزر giveWeapon (31,9999) giveWeapon (24,9999) giveWeapon (34,9999) end end) وششكرـآً Link to comment
iPrestege Posted March 17, 2013 Share Posted March 17, 2013 السلام عليكم ,,هذذآ كود اذا ظظغط وآحد عـ الزر يعطية سسلـآح بس فيهة غلطط ! addEventHandler("onClientGUIClick",root,function () if source == Mafia then -- Mifia آسم آلزر giveWeapon (31,9999) giveWeapon (24,9999) giveWeapon (34,9999) end end) وششكرـآً الفنكشن سيرفر سوي ترايقر ( = Link to comment
===|OSAMA|=== Posted March 17, 2013 Share Posted March 17, 2013 -- Client Side ! addEventHandler ( "onClientGUIClick", Mafia, function ( ) triggerServerEvent ( "giveWeapons", localPlayer ) end, false ) -- Server Side ! addEvent ( "giveWeapons", true ) addEventHandler ( "giveWeapons", root, function ( ) giveWeapon ( source, 31, 9999 ) giveWeapon ( source, 24, 9999 ) giveWeapon ( source, 34, 9999 ) end ) Link to comment
jafar Posted March 17, 2013 Share Posted March 17, 2013 (edited) addEventHandler("onClientGUIClick",root,function () if source == Mafia then -- Mifia آسم آلزر triggerServerEvent("give",localPlayer) end end) addEvent("give",true) addEventHandler("give",root, function() giveWeapon (source,31,9999) giveWeapon (source,24,9999) giveWeapon (source,34,9999) end ) Edited March 17, 2013 by Guest Link to comment
iPrestege Posted March 17, 2013 Share Posted March 17, 2013 addEventHandler("onClientGUIClick",root,function () if source == Mafia then -- Mifia آسم آلزر triggerServerEvent("give",localPlayer) end end) addEvent("give",true) addEventHandler("give",root, function() giveWeapon (31,9999) giveWeapon (24,9999) giveWeapon (34,9999) اند وقوس ناقص وخطأ السلاح Link to comment
jafar Posted March 17, 2013 Share Posted March 17, 2013 addEventHandler("onClientGUIClick",root,function () if source == Mafia then -- Mifia آسم آلزر triggerServerEvent("give",localPlayer) end end) addEvent("give",true) addEventHandler("give",root, function() giveWeapon (31,9999) giveWeapon (24,9999) giveWeapon (34,9999) اند وقوس ناقص وخطأ السلاح استعجلت ونسيت ماخليتهم تم التعديل Link to comment
AB0 HNAD[e] Posted March 17, 2013 Author Share Posted March 17, 2013 ششكرآ جعفر + آسآمة + برسستيج ++ ططيب عندي 3 تيمآت اكرر الكود 3 مرآت ولآ تسيف ~؟ Link to comment
jafar Posted March 17, 2013 Share Posted March 17, 2013 ششكرآ جعفر + آسآمة + برسستيج ++ ططيب عندي 3 تيمآت اكرر الكود 3 مرآت ولآ تسيف ~؟ الزر يعطي كل التيمات ! Link to comment
iPrestege Posted March 17, 2013 Share Posted March 17, 2013 addEventHandler ( "onClientGUIClick",root, function ( ) if ( source == button1 or source == button2 or source == button3 ) then triggerServerEvent ( "giveWeapons", localPlayer ) end end ) Link to comment
jafar Posted March 17, 2013 Share Posted March 17, 2013 addEventHandler ( "onClientGUIClick",root, function ( ) if ( source == button1 or source == button2 or source == button3 ) then triggerServerEvent ( "giveWeapons", localPlayer ) end end ) اها قصده ازرار يعني ذذ 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