Snakegold Posted July 29, 2018 Posted July 29, 2018 شباب بدي اخلي السيارة تطير بكوماتد function aicars ( ) if setWorldSpecialPropertyEnabled( "aircars", true ) then outputChatBox ("aircars activated") else outputChatBox ("aircars disactivated") end addCommandHandler ( "flycar", aicars )
SycroX Posted July 29, 2018 Posted July 29, 2018 تمام ما انت مسويها وش تبي يعني ؟ Chillin' with some demons, satans and vamps
Snakegold Posted July 29, 2018 Author Posted July 29, 2018 مو شغالة بدي لما اسوي /flycar السيارة تصير تطير و لاما اكتب الكوماند مرة ثاينة الفنكشن يوقف
SycroX Posted July 29, 2018 Posted July 29, 2018 function aicars() if isWorldSpecialPropertyEnabled("aircars") then outputChatBox ("aircars activated") setWorldSpecialPropertyEnabled("aircars", true) else outputChatBox ("aircars disactivated") setWorldSpecialPropertyEnabled("aircars", false) end end addCommandHandler ("flycar", aicars) Chillin' with some demons, satans and vamps
Doffy Posted July 29, 2018 Posted July 29, 2018 27 minutes ago, #َxLysandeR said: function aicars() if isWorldSpecialPropertyEnabled("aircars") then outputChatBox ("aircars activated") setWorldSpecialPropertyEnabled("aircars", true) else outputChatBox ("aircars disactivated") setWorldSpecialPropertyEnabled("aircars", false) end end addCommandHandler ("flycar", aicars) شسالفة صورك ؟ هههههههههههههههههههههههههههههههههههههههههههههههههههههه
SycroX Posted July 29, 2018 Posted July 29, 2018 17 minutes ago, #DesTroeyR said: شسالفة صورك ؟ هههههههههههههههههههههههههههههههههههههههههههههههههههههه زهقان من المذاكره و القرف بقا فقط افرفش شويه Chillin' with some demons, satans and vamps
Snakegold Posted July 29, 2018 Author Posted July 29, 2018 (edited) On 7/29/2018 at 20:26, #َxLysandeR said: function aicars() if isWorldSpecialPropertyEnabled("aircars") then outputChatBox ("aircars activated") setWorldSpecialPropertyEnabled("aircars", true) else outputChatBox ("aircars disactivated") setWorldSpecialPropertyEnabled("aircars", false) end end addCommandHandler ("flycar", aicars) كودك مو شغال function aircaron () setWorldSpecialPropertyEnabled("aircars", true) outputChatBox ("aircars activated",0 ,255 ,0) end addCommandHandler ("flycaron", aircaron) function aircaroff () setWorldSpecialPropertyEnabled("aircars", false) outputChatBox ("aircars disactivated",255 ,0 ,0) end addCommandHandler ("flycaroff", aircaroff) خلاص صلحته بس بدي اخليها بس للادمن function aircaron (thePlayer) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) -- get his account name if not isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then -- Does he have access to Admin functions? outputChatBox( "Acces denied", thePlayer, 255, 255, 0) end end addCommandHandler( "flycaron", root, aircar ) في خطأ؟؟ Edited July 29, 2018 by Snakegold
+Source|> Posted July 29, 2018 Posted July 29, 2018 30 minutes ago, Snakegold said: كودك مو شغال function aircaron () setWorldSpecialPropertyEnabled("aircars", true) outputChatBox ("aircars activated",0 ,255 ,0) end addCommandHandler ("flycaron", aircaron) function aircaroff () setWorldSpecialPropertyEnabled("aircars", false) outputChatBox ("aircars disactivated",255 ,0 ,0) end addCommandHandler ("flycaroff", aircaroff) خلاص صلحته بس بدي اخليها بس للادمن function aircaron (thePlayer) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) -- get his account name if not isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then -- Does he have access to Admin functions? outputChatBox( "Acces denied", thePlayer, 255, 255, 0) end end addCommandHandler( "flycaron", root, aircar ) في خطأ؟؟ function aircaron (thePlayer) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) -- get his account name if not isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then -- Does he have access to Admin functions? outputChatBox( "Acces denied", thePlayer, 255, 255, 0) return end end addCommandHandler( "flycaron", root, aircar ) لازم تستعمل ترايقر My Website
Trefeor Posted July 30, 2018 Posted July 30, 2018 الترايقر مثلاُ انت مسوي سكربت بملف سيرفر بس فيه وظيفة بالسكربت حقك بجانب السيرفر تستعمل الترايقر من سيرفر ل كلنت والعكس triggerServerEevnt -- من كلنت لـ سيرفر triggerClientEvent -- من سيرفر لـ كلنت Skype : live:trefeor
SycroX Posted July 30, 2018 Posted July 30, 2018 (edited) 5 hours ago, Snakegold said: كودك مو شغال function aircaron () setWorldSpecialPropertyEnabled("aircars", true) outputChatBox ("aircars activated",0 ,255 ,0) end addCommandHandler ("flycaron", aircaron) function aircaroff () setWorldSpecialPropertyEnabled("aircars", false) outputChatBox ("aircars disactivated",255 ,0 ,0) end addCommandHandler ("flycaroff", aircaroff) خلاص صلحته بس بدي اخليها بس للادمن function aircaron (thePlayer) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) -- get his account name if not isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then -- Does he have access to Admin functions? outputChatBox( "Acces denied", thePlayer, 255, 255, 0) end end addCommandHandler( "flycaron", root, aircar ) في خطأ؟؟ ما اخدت بالي معلش اعكس مكان true و false Edited July 30, 2018 by #َxLysandeR Chillin' with some demons, satans and vamps
Guest Posted July 30, 2018 Posted July 30, 2018 function aircaron () setWorldSpecialPropertyEnabled("aircars", false) outputChatBox ("aircars activated",0 ,255 ,0) end addCommandHandler ("flycaron", aircaron) function aircaroff () setWorldSpecialPropertyEnabled("aircars", true) outputChatBox ("aircars disactivated",255 ,0 ,0) end addCommandHandler ("flycaroff", aircaroff)
Snakegold Posted July 30, 2018 Author Posted July 30, 2018 On 7/30/2018 at 11:25, *AnGeL said: function aircaron () setWorldSpecialPropertyEnabled("aircars", false) outputChatBox ("aircars activated",0 ,255 ,0) end addCommandHandler ("flycaron", aircaron) function aircaroff () setWorldSpecialPropertyEnabled("aircars", true) outputChatBox ("aircars disactivated",255 ,0 ,0) end addCommandHandler ("flycaroff", aircaroff) الكود لحس مخي كيف Aircars desactivated Value: true و Activated Value: false ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟ PS: المود شغال
Mr.Mostafa Posted July 30, 2018 Posted July 30, 2018 جرب -- # Client addCommandHandler ("flycar", function aicars() triggerServerEvent('checkRankPlayer', localPlayer) end ) addEvent ( "thenTrue", true ) addEventHandler ( "thenTrue", root, function ( ) if isWorldSpecialPropertyEnabled("aircars") then outputChatBox ("aircars disactivated") setWorldSpecialPropertyEnabled("aircars", false) else outputChatBox ("aircars activated") setWorldSpecialPropertyEnabled("aircars", true) end end ) -- # Server local Rank = "Console" --- آلرتبة آلي يشتغل عليه آلآمر addEvent ( "checkRankPlayer", true ) addEventHandler ( "checkRankPlayer", root, function ( p ) local acc = getPlayerAccount ( p ) if acc and not isGuestAccount ( acc ) then if isObjectInACLGroup ( "user."..getAccountName ( acc ), aclGetGroup ( Rank ) ) then triggerClientEvent ( p, "thenTrue", resourceRoot ) end end end ) * تم آلآفتتآح مرة اخري , حياكم الله * ip : * mtasa://145.239.212.62:22003 *
Snakegold Posted July 30, 2018 Author Posted July 30, 2018 بكل المودات لازم تكون False قبل True زي هيك outputChatBox ("aircars disactivated") setWorldSpecialPropertyEnabled("aircars", false) else outputChatBox ("aircars activated") setWorldSpecialPropertyEnabled("aircars", true) ??
#DRAGON!FIRE Posted July 30, 2018 Posted July 30, 2018 1 hour ago, Mr.Mostafa said: جرب -- # Client addCommandHandler ("flycar", function aicars() triggerServerEvent('checkRankPlayer', localPlayer) end ) addEvent ( "thenTrue", true ) addEventHandler ( "thenTrue", root, function ( ) if isWorldSpecialPropertyEnabled("aircars") then outputChatBox ("aircars disactivated") setWorldSpecialPropertyEnabled("aircars", false) else outputChatBox ("aircars activated") setWorldSpecialPropertyEnabled("aircars", true) end end ) -- # Server local Rank = "Console" --- آلرتبة آلي يشتغل عليه آلآمر addEvent ( "checkRankPlayer", true ) addEventHandler ( "checkRankPlayer", root, function ( p ) local acc = getPlayerAccount ( p ) if acc and not isGuestAccount ( acc ) then if isObjectInACLGroup ( "user."..getAccountName ( acc ), aclGetGroup ( Rank ) ) then triggerClientEvent ( p, "thenTrue", resourceRoot ) end end end ) يا عزيزي كودك فيه اغلاط . Snakegold : اكوادك اشتغلت ولا لا ؟ وايش مشكلتك ؟ To Contact Me at Skype : [email protected]
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