SmoKing Posted November 15, 2012 Share Posted November 15, 2012 (edited) السلام عليكم ي شباب انا ابي الكود يخلي الاعب ينفجر ويموت بس ذا السكربت يموت على طول ابيه يصير زي انفجار القنبله لو تقدرون في اسرع وقت ممكن function command ( player, command ) killPed ( player, player ) outputChatBox(""..getPlayerName(player).." : Player Used /gun Command And Killed !! ", getRootElement(), 255, 255, 0, true) end addCommandHandler ( "gun", command ) وكمان مابيه كلمه ابيه اذا طلقت عليه يموت Edited November 15, 2012 by Guest Link to comment
abu5lf Posted November 15, 2012 Share Posted November 15, 2012 استخدم زر lua createExplosion Link to comment
SmoKing Posted November 15, 2012 Author Share Posted November 15, 2012 يوم احط lua مايطلع الكود Link to comment
abu5lf Posted November 15, 2012 Share Posted November 15, 2012 ههههههههههههههههه الا يطلع function command ( player, command ) killPed ( player, player ) outputChatBox(""..getPlayerName(player).." : Player Used /gun Command And Killed !! ", getRootElement(), 255, 255, 0, true) end addCommandHandler ( "gun", command ) Link to comment
SmoKing Posted November 15, 2012 Author Share Posted November 15, 2012 طيب كيف اخليه اذا قتلته ينفجر زي انفجار القنبله Link to comment
./BlackBird# Posted November 15, 2012 Share Posted November 15, 2012 اتوقع تبي اذا يكتب كلمه و اذا مات يصير انفجار؟ Link to comment
SmoKing Posted November 15, 2012 Author Share Posted November 15, 2012 لالا انا قصدي اذا طلقت عليه وقتلته ينفجر ويموت Link to comment
abu5lf Posted November 15, 2012 Share Posted November 15, 2012 لالا انا قصدي اذا طلقت عليه وقتلته ينفجر ويموت بعد ماتذبحه يعيش ولا وش الهرجة ؟ ههههههههههههههههه Link to comment
SmoKing Posted November 15, 2012 Author Share Posted November 15, 2012 شف ينفجر ويموت خلاص Link to comment
AhmadQTR Posted November 15, 2012 Share Posted November 15, 2012 function explosionOnWasted ( ) local pX, pY, pZ = getElementPosition ( source ) createExplosion ( pX, pY, pZ, 6, source ) end addEventHandler ( "onPlayerWasted", getRootElement(), explosionOnWasted ) ماجربته Link to comment
./BlackBird# Posted November 15, 2012 Share Posted November 15, 2012 استخدم onPlayerDamage -- لما يصاب الاعب getElementPosition -- احضار احداثيات الاعب createExplosion-- صنع انفجار Link to comment
AhmadQTR Posted November 15, 2012 Share Posted November 15, 2012 استخدم onPlayerDamage -- لما يصاب الاعب getElementPosition -- احضار احداثيات الاعب createExplosion-- صنع انفجار هو قصده اذا مات مب لما يصاب الاعب Link to comment
abu5lf Posted November 15, 2012 Share Posted November 15, 2012 (edited) addEventHandler ( 'onPlayerWasted', getRootElement ( ), function ( ) local x, y, z = getElementPosition ( source ) createExplosion ( x, y, z, 0, source ) end ) هب ماشفت ردودكم Edited November 15, 2012 by Guest Link to comment
SmoKing Posted November 15, 2012 Author Share Posted November 15, 2012 طيب ذا كلينت ولا سيرفر function explosionOnWasted ( ) local pX, pY, pZ = getElementPosition ( source ) createExplosion ( pX, pY, pZ, 6, source ) end addEventHandler ( "onPlayerWasted", getRootElement(), explosionOnWasted ) Link to comment
SmoKing Posted November 15, 2012 Author Share Posted November 15, 2012 ي عيال المود اشتغل بس في مشكله لو انا مت وجنبي واحد يتقشر ؟ Link to comment
abu5lf Posted November 15, 2012 Share Posted November 15, 2012 ي عيال المود اشتغل بس في مشكلهلو انا مت وجنبي واحد يتقشر ؟ لوسويتها كلنت ينفع Link to comment
SmoKing Posted November 15, 2012 Author Share Posted November 15, 2012 يوم حطيته كلينت ماشتغل السكربت وانا قصدي مايتقشرون لا التيم الي معي ولا التيم الثاني ولا يجيهم الضربه بس انا انفجر Link to comment
abu5lf Posted November 15, 2012 Share Posted November 15, 2012 addEventHandler ( 'onClientPlayerWasted', getLocalPlayer ( ), function ( ) local x, y, z = getElementPosition ( source ) createExplosion ( x, y, z, 0, true, -1.0, true ) end ) حط ذاه كلنت Link to comment
SmoKing Posted November 15, 2012 Author Share Posted November 15, 2012 مايشتغل السكربت Link to comment
SmoKing Posted November 15, 2012 Author Share Posted November 15, 2012 client addEventHandler ( 'onClientPlayerWasted', getLocalPlayer ( ), function ( ) local x, y, z = getElementPosition ( source ) createExplosion ( x, y, z, 0, true, -1.0, true ) end ) meta Link to comment
3NAD Posted November 15, 2012 Share Posted November 15, 2012 addEventHandler ( "onClientPlayerWasted", localPlayer, function ( ) local x, y, z = getElementPosition ( localPlayer ) createExplosion ( x, y, z, 0 ) end ) Link to comment
abu5lf Posted November 15, 2012 Share Posted November 15, 2012 شغال معي > ="client.lua" type="client" />> Link to comment
3NAD Posted November 15, 2012 Share Posted November 15, 2012 addEventHandler ( 'onClientPlayerWasted', getLocalPlayer ( ), function ( ) local x, y, z = getElementPosition ( source ) createExplosion ( x, y, z, 0, true, -1.0, true ) end ) حط ذاه كلنت getElementPosition ( source ) لأنه كلنت getLocalPlayer ( ) المفروض Link to comment
SmoKing Posted November 15, 2012 Author Share Posted November 15, 2012 طيب ي عناد المود اشتغل بس يطلع عند اللاعب مب كلهم يطلعهم بس الاعب الي مات 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