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