SmoKing Posted November 15, 2012 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
abu5lf Posted November 15, 2012 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 )
SmoKing Posted November 15, 2012 Author Posted November 15, 2012 طيب كيف اخليه اذا قتلته ينفجر زي انفجار القنبله
./BlackBird# Posted November 15, 2012 Posted November 15, 2012 اتوقع تبي اذا يكتب كلمه و اذا مات يصير انفجار؟
SmoKing Posted November 15, 2012 Author Posted November 15, 2012 لالا انا قصدي اذا طلقت عليه وقتلته ينفجر ويموت
abu5lf Posted November 15, 2012 Posted November 15, 2012 لالا انا قصدي اذا طلقت عليه وقتلته ينفجر ويموت بعد ماتذبحه يعيش ولا وش الهرجة ؟ ههههههههههههههههه
AhmadQTR Posted November 15, 2012 Posted November 15, 2012 function explosionOnWasted ( ) local pX, pY, pZ = getElementPosition ( source ) createExplosion ( pX, pY, pZ, 6, source ) end addEventHandler ( "onPlayerWasted", getRootElement(), explosionOnWasted ) ماجربته
./BlackBird# Posted November 15, 2012 Posted November 15, 2012 استخدم onPlayerDamage -- لما يصاب الاعب getElementPosition -- احضار احداثيات الاعب createExplosion-- صنع انفجار
AhmadQTR Posted November 15, 2012 Posted November 15, 2012 استخدم onPlayerDamage -- لما يصاب الاعب getElementPosition -- احضار احداثيات الاعب createExplosion-- صنع انفجار هو قصده اذا مات مب لما يصاب الاعب
abu5lf Posted November 15, 2012 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
SmoKing Posted November 15, 2012 Author Posted November 15, 2012 طيب ذا كلينت ولا سيرفر function explosionOnWasted ( ) local pX, pY, pZ = getElementPosition ( source ) createExplosion ( pX, pY, pZ, 6, source ) end addEventHandler ( "onPlayerWasted", getRootElement(), explosionOnWasted )
SmoKing Posted November 15, 2012 Author Posted November 15, 2012 ي عيال المود اشتغل بس في مشكله لو انا مت وجنبي واحد يتقشر ؟
abu5lf Posted November 15, 2012 Posted November 15, 2012 ي عيال المود اشتغل بس في مشكلهلو انا مت وجنبي واحد يتقشر ؟ لوسويتها كلنت ينفع
SmoKing Posted November 15, 2012 Author Posted November 15, 2012 يوم حطيته كلينت ماشتغل السكربت وانا قصدي مايتقشرون لا التيم الي معي ولا التيم الثاني ولا يجيهم الضربه بس انا انفجر
abu5lf Posted November 15, 2012 Posted November 15, 2012 addEventHandler ( 'onClientPlayerWasted', getLocalPlayer ( ), function ( ) local x, y, z = getElementPosition ( source ) createExplosion ( x, y, z, 0, true, -1.0, true ) end ) حط ذاه كلنت
SmoKing Posted November 15, 2012 Author 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
3NAD Posted November 15, 2012 Posted November 15, 2012 addEventHandler ( "onClientPlayerWasted", localPlayer, function ( ) local x, y, z = getElementPosition ( localPlayer ) createExplosion ( x, y, z, 0 ) end )
3NAD Posted November 15, 2012 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 ( ) المفروض
SmoKing Posted November 15, 2012 Author Posted November 15, 2012 طيب ي عناد المود اشتغل بس يطلع عند اللاعب مب كلهم يطلعهم بس الاعب الي مات
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