charaf_gamer Posted July 22, 2014 Share Posted July 22, 2014 local groupName = '[ARMY]' addEventHandler("onVehicleStartEnter", root, function(player, seat) if getElementData(player, "Group") =~ groupName then cancelEvent() outputChatBox("This vehicle is only for "..groupName.." group!", player, 255, 0, 0) end end ) صارت كل سيارات السيرفر تخص القروب ارمي Link to comment
xFace[B]ook Posted July 22, 2014 Share Posted July 22, 2014 ي خوي ازعجتونا ب برمجة المقرات الاكواد موجودة بالمنتدى ابحث بالمواضيع بدل ~= بـ == وبعد خل الكود في نفس ملف صنع السيارة Link to comment
UAEpro Posted July 22, 2014 Share Posted July 22, 2014 شوف الدقيقة 13:04 بتعرف شو خطأك Link to comment
</Mr.Tn6eL> Posted July 22, 2014 Share Posted July 22, 2014 local groupName = '[ARMY]' addEventHandler("onVehicleStartEnter", root, function(player, seat) if getElementData(player, "Group") ~= groupName then cancelEvent() outputChatBox("This vehicle is only for "..groupName.." group!", player, 255, 0, 0) end end ) Link to comment
UAEpro Posted July 23, 2014 Share Posted July 23, 2014 local groupName = '[ARMY]' addEventHandler("onVehicleStartEnter", root, function(player, seat) if getElementData(player, "Group") ~= groupName then cancelEvent() outputChatBox("This vehicle is only for "..groupName.." group!", player, 255, 0, 0) end end ) ع الأقل وضح له شو الخطأ .. عشان يعرف ويستفيد .. لا تعطني سمكة ولكن علمني كيف اصطاد Link to comment
Max+ Posted July 23, 2014 Share Posted July 23, 2014 local groupName = '[ARMY]' addEventHandler("onVehicleStartEnter", root, function(player, seat) if getElementData(player, "Group") ~= groupName then cancelEvent() outputChatBox("This vehicle is only for "..groupName.." group!", player, 255, 0, 0) end end ) ع الأقل وضح له شو الخطأ .. عشان يعرف ويستفيد .. لا تعطني سمكة ولكن علمني كيف اصطاد انا اؤيد الدجاج يامربع وش صار على المربع بشر ض1 Link to comment
xFace[B]ook Posted July 23, 2014 Share Posted July 23, 2014 local groupName = '[ARMY]' addEventHandler("onVehicleStartEnter", root, function(player, seat) if getElementData(player, "Group") ~= groupName then cancelEvent() outputChatBox("This vehicle is only for "..groupName.." group!", player, 255, 0, 0) end end ) وش غيرت ب كوده ؟؟؟ Link to comment
Max+ Posted July 23, 2014 Share Posted July 23, 2014 local groupName = '[ARMY]' addEventHandler("onVehicleStartEnter", root, function(player, seat) if getElementData(player, "Group") ~= groupName then cancelEvent() outputChatBox("This vehicle is only for "..groupName.." group!", player, 255, 0, 0) end end ) وش غيرت ب كوده ؟؟؟ ولا شي . Link to comment
UAEpro Posted July 23, 2014 Share Posted July 23, 2014 كان عندهـ غلط بـ =~ يب لو قلتوا له أحسن من انكم تعطونه الكود جاهز انا اؤيد الدجاج يامربعوش صار على المربع بشر ض1 ههههههههههههههه الله كريم Link to comment
</Mr.Tn6eL> Posted July 23, 2014 Share Posted July 23, 2014 قال تصحيح كود مقال علموني وش الخطأ Link to comment
MhLoSs Posted July 23, 2014 Share Posted July 23, 2014 local groupName = '[ARMY]' addEventHandler("onVehicleStartEnter", root, function(player, seat) if getElementData(player, "Group") == groupName then cancelEvent() outputChatBox("This vehicle is only for "..groupName.." group!", player, 255, 0, 0) end end ) التعديل في السطر هذا if getElementData(player, "Group") == groupName then -- كان =~ صار كذا == وبس Link to comment
#DRAGON!FIRE Posted July 23, 2014 Share Posted July 23, 2014 local groupName = '[ARMY]' addEventHandler("onVehicleStartEnter", root, function(player, seat) if getElementData(player, "Group") == groupName then cancelEvent() outputChatBox("This vehicle is only for "..groupName.." group!", player, 255, 0, 0) end end ) التعديل في السطر هذا if getElementData(player, "Group") == groupName then -- كان =~ صار كذا == وبس كذأ صار لو اللاعب موجود بـ القروب يتكنسل الكود ذذ Link to comment
UAEpro Posted July 23, 2014 Share Posted July 23, 2014 قال تصحيح كود مقال علموني وش الخطأ وشو الفايدة يوم كل واحد آخذ كود وما اشتغل وقال صلحولي اياه ... كيف بيتعلم بعدين وش الخطأ .. يعني كل مرة تواجهه نفس المشكلة بيحط الكود وبيقول صلحولي اياه .. Link to comment
nxFairlywell Posted July 24, 2014 Share Posted July 24, 2014 قال تصحيح كود مقال علموني وش الخطأ وشو الفايدة يوم كل واحد آخذ كود وما اشتغل وقال صلحولي اياه ... كيف بيتعلم بعدين وش الخطأ .. يعني كل مرة تواجهه نفس المشكلة بيحط الكود وبيقول صلحولي اياه .. +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