mahmod3 Posted October 17, 2016 Share Posted October 17, 2016 السلام عليكم ورحمة الله في هادا الكود لما يدخل اللاعب للماركر يجي مخرج ب الشات بس المخرج ب الشات يجي لكل اللاعبين وانا ابيه لما يدخل اللاعب يطلع له هوا فقط يعني مايطلع للاعبين الاخيرا عموما هادا الكود addEventHandler("onMarkerHit",marker, function( hit ) triggerClientEvent(hit,"HealthS",hit) if hit and getElementType ( hit ) == 'player' then if getTeamFromName("166") and getPlayerTeam( hit ) then if getPlayerTeam ( hit ) == getTeamFromName ( "166" ) then outputChatBox ( "تم اعطائك بضاعة البنيان", getRootElement(), 255,255,255, true ) giveWeapon(hit,30,99) giveWeapon(hit,29,99) giveWeapon(hit,22,99) setElementHealth(hit,100) setPlayerArmor(hit,100) else outputChatBox ( "انت ليس من البنيان", getRootElement(), 255,255,255, true ) end else outputChatBox ( "انت ليس من البنيان", getRootElement(), 255,255,255, true ) end end end ) Link to comment
Mohamed_king Posted October 17, 2016 Share Posted October 17, 2016 لوكنت خبير راهو ساعدتك ?? Link to comment
Ismaeel_finer Posted October 18, 2016 Share Posted October 18, 2016 -- جرب ضيف كود هادا function MarkerHit( hitElement, matchingDimension ) local elementType = getElementType( hitElement ) outputChatBox( elementType.." اضف رسالة", getRootElement(), 255, 255, 0 ) end --اني مجربتاش جربه Link to comment
mahmod3 Posted October 18, 2016 Author Share Posted October 18, 2016 1 hour ago, Mohamed_king said: لوكنت خبير راهو ساعدتك ?? jحليتها بروحي منور 7 minutes ago, Ismaeel_finer said: -- جرب ضيف كود هاداfunction MarkerHit( hitElement, matchingDimension ) local elementType = getElementType( hitElement ) outputChatBox( elementType.." اضف رسالة", getRootElement(), 255, 255, 0 ) end--اني مجربتاش جربه لا هكي صح addEventHandler("onMarkerHit",marker, function( hit ) triggerClientEvent(hit,"HealthS",hit) if hit and getElementType ( hit ) == 'player' then if getTeamFromName("166") and getPlayerTeam( hit ) then if getPlayerTeam ( hit ) == getTeamFromName ( "166" ) then outputChatBox ( "تم اعطائك بضاعة البنيان", hit, 255,255,255, true ) giveWeapon(hit,30,99) giveWeapon(hit,29,99) giveWeapon(hit,22,99) setElementHealth(hit,100) setPlayerArmor(hit,100) else outputChatBox ( "انت ليس من البنيان", hit, 255,255,255, true ) end else outputChatBox ( "انت ليس من البنيان", hit, 255,255,255, true ) end end end ) Link to comment
Kara Posted October 18, 2016 Share Posted October 18, 2016 17 hours ago, Ismaeel_finer said: -- جرب ضيف كود هادا function MarkerHit( hitElement, matchingDimension ) local elementType = getElementType( hitElement ) outputChatBox( elementType.." اضف رسالة", getRootElement(), 255, 255, 0 ) end --اني مجربتاش جربه 2 Link to comment
Ismaeel_finer Posted October 18, 2016 Share Posted October 18, 2016 18 minutes ago, Kara said: ههههههههههههههـ بي صدفا درتها وانت يا طايب قاعد حي Link to comment
Kara Posted October 18, 2016 Share Posted October 18, 2016 حشمتنا معش تساعد حد بي تحطهم في ستين داهيه انت هكي Link to comment
Ismaeel_finer Posted October 18, 2016 Share Posted October 18, 2016 1 minute ago, Kara said: حشمتنا معش تساعد حد بي تحطهم في ستين داهيه انت هكي ههههههههههههـ مكسد مرة جاية بنسعدك انت ههههههههههههههههه *_* Link to comment
#BrosS Posted October 18, 2016 Share Posted October 18, 2016 اسمعو نتوما .. مركمش بقسم الجزائر بش تهدرو هكا هههههه 1 Link to comment
Ismaeel_finer Posted October 18, 2016 Share Posted October 18, 2016 Just now, #BrosS said: اسمعو نتوما .. مركمش بقسم الجزائر بش تهدرو هكا هههههه انضم معانا هدرز هههههههه ـ Link to comment
#BrosS Posted October 18, 2016 Share Posted October 18, 2016 Just now, Ismaeel_finer said: انضم معانا هدرز هههههههه ـ وي ننضم ايا ههههههه Link to comment
Ismaeel_finer Posted October 18, 2016 Share Posted October 18, 2016 Just now, #BrosS said: وي ننضم ايا ههههههه ههههههههههههـ علي شن بنهدرزو Link to comment
#BrosS Posted October 18, 2016 Share Posted October 18, 2016 Just now, Ismaeel_finer said: ههههههههههههـ علي شن بنهدرزو ايه اياااااا Link to comment
Ismaeel_finer Posted October 18, 2016 Share Posted October 18, 2016 1 minute ago, #BrosS said: ايه اياااااا عندك تيم سبيك Link to comment
#BrosS Posted October 18, 2016 Share Posted October 18, 2016 Just now, Ismaeel_finer said: عندك تيم سبيك وي بصح معنديش مايك Link to comment
Ismaeel_finer Posted October 18, 2016 Share Posted October 18, 2016 Just now, #BrosS said: وي بصح معنديش مايك مافيش كيف انهدرزو ههههههههه Link to comment
ABoHussin Posted October 18, 2016 Share Posted October 18, 2016 (edited) marker = createMarker ( x, y, z, "cylinder", 1.5, 255, 255, 0, 170 ) addEventHandler("onMarkerHit",marker, function( hit ) if hit and getElementType ( hit ) == 'player' then if getTeamFromName("166") and getPlayerTeam( hit ) then if getPlayerTeam ( hit ) == getTeamFromName ( "166" ) then outputChatBox ( "تم اعطائك بضاعة البنيان", hit, 255,255,255, true ) giveWeapon(hit,30,99) giveWeapon(hit,29,99) giveWeapon(hit,22,99) setElementHealth(hit,100) setPlayerArmor(hit,100) else outputChatBox ( "انت ليس من البنيان", hit, 255,255,255, true ) end else outputChatBox ( "انت ليس من البنيان", hit, 255,255,255, true ) end end end ) جرب ولاتنسا تغير الاحداثيات Edited October 18, 2016 by ABoHussin Link to comment
Kara Posted October 19, 2016 Share Posted October 19, 2016 8 hours ago, ABoHussin said: marker = createMarker ( x, y, z, "cylinder", 1.5, 255, 255, 0, 170 ) addEventHandler("onMarkerHit",marker, function( hit ) if hit and getElementType ( hit ) == 'player' then if getTeamFromName("166") and getPlayerTeam( hit ) then if getPlayerTeam ( hit ) == getTeamFromName ( "166" ) then outputChatBox ( "تم اعطائك بضاعة البنيان", hit, 255,255,255, true ) giveWeapon(hit,30,99) giveWeapon(hit,29,99) giveWeapon(hit,22,99) setElementHealth(hit,100) setPlayerArmor(hit,100) else outputChatBox ( "انت ليس من البنيان", hit, 255,255,255, true ) end else outputChatBox ( "انت ليس من البنيان", hit, 255,255,255, true ) end end end ) جرب ولاتنسا تغير الاحداثيات تزويد مشاركات اعتقد انه تم افادته من قبل احمد Link to comment
mahmod3 Posted October 19, 2016 Author Share Posted October 19, 2016 9 hours ago, Kara said: تزويد مشاركات اعتقد انه تم افادته من قبل احمد لالالالا ماحد ساعدني درته بروحي وطرحته بش معاش حد يزيد المشاركات هههه 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