xMr.SAAD Posted January 30, 2014 Share Posted January 30, 2014 (edited) السلام عليكم شبآب ابيكم تعدلون ذا كود addEventHandler ( "onPlayerChat",root, function ( msg, msgType ) if ( msg == "الدائري" and msgType == 0 ) then setElementPosition (source, 1016.4785766602,-4957.4384765625,1642.9499511719) outputChatBox("تم نقلكـ لـ الدائري",source,math.random(255),math.random(255),math.random(255),true) end end ) ابيه يوم يكتب الدائري ينقلهـ اذا كتب مره ثاني يجيه شات انتضر 30 ثانيه و اذا كان راكب سيارهـ يقول له انزل من سيارهـ و شكرا~> Edited January 31, 2014 by Guest Link to comment
!#NssoR_) Posted January 30, 2014 Share Posted January 30, 2014 getPedOccupiedVehicle -- يتحقق اذا راكب سياره او لا setElementData -- عشان اذا كتب الكلمه وعاد كتابتها getElementData -- يتحقق اذا الاعب كان كاتب الكلمه من قبل ام لا setTimer -- وقت outputChatBox -- عشان يطلع كلام بشات Link to comment
RoMaNd! Posted January 30, 2014 Share Posted January 30, 2014 ممكن مثال اما ماتعرف ؟ تطلب اكواد وتعديل . القهر مو في ذا القهر لما اشوف في سيرفرك مودات خيااس وبفلوس 、 ~ _~ 、 كود كنق حق السيارات حاطه والي يبي سيارة ففيها اغاني بفلوس ~-~ Link to comment
xMr.SAAD Posted January 30, 2014 Author Share Posted January 30, 2014 اذا خايسه ليه تدخل؟ هههههههههههههههههههههههههههههههههههههههههههه كل هذا مقهور؟ + وشو دخلك اسوي مود فلوس بكيفك هو؟ Link to comment
xMr.SAAD Posted January 30, 2014 Author Share Posted January 30, 2014 + انا حاط موضوع تعديل ما طلبت اكواد ~ Link to comment
Mando Posted January 31, 2014 Share Posted January 31, 2014 ممكن مثال اما ماتعرف ؟ تطلب اكواد وتعديل . القهر مو في ذا القهر لما اشوف في سيرفرك مودات خيااس وبفلوس 、 ~ _~ 、 كود كنق حق السيارات حاطه والي يبي سيارة ففيها اغاني بفلوس ~-~ لا داعي لكل هذه هو حر انت مالك ؟ Link to comment
xMr.SAAD Posted January 31, 2014 Author Share Posted January 31, 2014 شبآب ممكن تعدلون كود > Link to comment
#DRAGON!FIRE Posted January 31, 2014 Share Posted January 31, 2014 local Timer = {} addEventHandler ( "onPlayerChat", root, function ( msg, msgType ) if ( msg == "الدائري" and msgType == 0 ) then if isPedInVehicle ( source ) then return outputChatBox( "** اخرج من السيارة اولأ", source, math.random(255), math.random(255), math.random(255), true ) end if isTimer( Timer[ source ] ) then return outputChatBox( "** انتظر 30 ثانية", source, math.random(255), math.random(255), math.random(255), true ) end Timer[ source ] = setTimer( function( ) end, 30000, 1 ) setElementPosition ( source, 1016.4785766602, -4957.4384765625, 1642.9499511719 ) outputChatBox( "تم نقلكـ لـ الدائري", source, math.random(255), math.random(255), math.random(255), true ) end end ) 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