THEKILIER Posted August 7, 2014 Share Posted August 7, 2014 السلام عليكم ورحمة الله وبركاته مثل ماشفتو من العنوان أبي كود يمنع الأنتقال حق الفري روم طبعا أنا ربت ذا الكود بس مانفع warp = false function nowarp() if warp == false then warp = true setElementData(localPlayer,"IsWarpLocked",true) outputChatBox("#00FF00[تم اغلاق الأنتقال إليك]",255,255,255,true) else warp = false setElementData(localPlayer,"IsWarpLocked",false) outputChatBox("#00FF00[تم فتح الأنتقال إليك]",255,255,255,true) end end ألي يعرف كود صحيح يخربني ولا تبخلون علينا Link to comment
</Mr.Tn6eL> Posted August 7, 2014 Share Posted August 7, 2014 getElementData(localPlayer,"IsWarpLocked") تحقق بذا الكود اول ماينتقل Link to comment
THEKILIER Posted August 7, 2014 Author Share Posted August 7, 2014 getElementData(localPlayer,"IsWarpLocked") تحقق بذا الكود اول ماينتقل ششوف ياغلالي صح كدا ولا جبت العيد ؟ اذا صح كدا انا جربتة مانفع warp = false function nowarp() if warp == false then warp = true getElementData(localPlayer,"IsWarpLocked") outputChatBox("#00FF00[تم اغلاق الأنتقال إليك]",255,255,255,true) else warp = false getElementData(localPlayer,"IsWarpLocked") outputChatBox("#00FF00[تم فتح الأنتقال إليك]",255,255,255,true) end end Link to comment
Max+ Posted August 7, 2014 Share Posted August 7, 2014 addCommandHandler ( 'lock', function ( ) setElementData ( localPlayer, 'IsWarpLocked', true ) end ) addCommandHandler ( 'unlock', function ( ) setElementData ( localPlayer, 'IsWarpLocked', false ) end ) ---- function nowarp () if ( getElementData ( localPlayer, 'IsWarpLocked' == true )) then outputChatBox("#00FF00[تم اغلاق الأنتقال إليك]",255,255,255,true) elseif ( getElementData (localPlayer, 'IsWarpLocked' == false )) then outputChatBox("#00FF00[تم فتح الأنتقال إليك]",255,255,255,true) end end Link to comment
THEKILIER Posted August 7, 2014 Author Share Posted August 7, 2014 addCommandHandler ( 'lock', function ( ) setElementData ( localPlayer, 'IsWarpLocked', true ) end ) addCommandHandler ( 'unlock', function ( ) setElementData ( localPlayer, 'IsWarpLocked', false ) end ) ---- function nowarp () if ( getElementData ( localPlayer, 'IsWarpLocked' == true )) then outputChatBox("#00FF00[تم اغلاق الأنتقال إليك]",255,255,255,true) elseif ( getElementData (localPlayer, 'IsWarpLocked' == false )) then outputChatBox("#00FF00[تم فتح الأنتقال إليك]",255,255,255,true) end end سيم سيم ارباب مافي يجي مضبوط /: Link to comment
THEKILIER Posted August 7, 2014 Author Share Posted August 7, 2014 ياشباب الاكودا الي فوق خطأ :\ مايشتغلون معي Link to comment
XI_Alooy1212_IX Posted August 7, 2014 Share Posted August 7, 2014 اكتب في اف8 debugscript 3 - شوف الي يطلع ليك اكتبه هناا - تاأكد انه الكود في ملف (client) Link to comment
Max+ Posted August 7, 2014 Share Posted August 7, 2014 اكيد ياذكي لان مافيه افنت للسكربت اصلا ضيف افنت عن الضغط على شي او كوماند تكتبه وتطلع له الرسالة . . Link to comment
THEKILIER Posted August 8, 2014 Author Share Posted August 8, 2014 اكتب في اف8 debugscript 3- شوف الي يطلع ليك اكتبه هناا - تاأكد انه الكود في ملف (client) اخوي جربت مافي اخطائ في الأسطر حقت الي أنا سويتها :\ Link to comment
xFace[B]ook Posted August 8, 2014 Share Posted August 8, 2014 طيب اطرح الفري الروم الملفين كلنت وسيرفر Link to comment
THEKILIER Posted August 8, 2014 Author Share Posted August 8, 2014 طيب اطرح الفري الروم الملفين كلنت وسيرفر على الفري روم الأصلي يالغالي Link to comment
TAPL Posted August 8, 2014 Share Posted August 8, 2014 لو تبحث تلقاه https://forum.multitheftauto.com/viewtopic.php?f=91&t=38278 Link to comment
THEKILIER Posted August 8, 2014 Author Share Posted August 8, 2014 لو تبحث تلقاهhttps://forum.multitheftauto.com/viewtopic.php?f=91&t=38278 ششكراا تابل ضبطت معي 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