-
Posts
2,013 -
Joined
-
Last visited
Everything posted by iMr.SFA7
-
مشكلة .. الرجاء من كل شخص يدخل يمكن تعرف الحل
iMr.SFA7 replied to #Alwaeli's topic in Arabic / العربية
مشكلتك بالتشفير ولا وين ؟ اذا بالتشفير فتأكد أن القروب سيستيم مآفيه آكوآد مثل أضافة حساب لـ قروب آو نقل اللاعبين التلغيم عموماً -
-- Client Side addEvent ( "addMaps_", true ) addEventHandler ( "addMaps_", root, function ( m_table ) guiGridListClear ( GUIEditor.gridlist[1] ) cMaps = m_table for _,v in ipairs ( m_table ) do local row = guiGridListAddRow (GUIEditor.gridlist[1]) guiGridListSetItemText ( GUIEditor.gridlist[1], row, 1, v, true, true) end end ) addEventHandler ( "onClientGUIChanged", GUIEditor.edit[1], function ( ) if ( guiGetText ( GUIEditor.edit[1] ) ~= "" ) then guiGridListClear ( GUIEditor.gridlist[1] ) for _,v in ipairs ( cMaps ) do local row = guiGridListAddRow ( GUIEditor.gridlist[1] ) if ( string.find ( string.upper ( v ), string.upper ( guiGetText ( GUIEditor.edit[1]) , 1, true ) ) ) then guiGridListSetItemText( GUIEditor.gridlist[1], row, 1, v, false, false ) end end else guiGridListClear ( GUIEditor.gridlist[1] ) for _,v in ipairs ( cMaps ) do local row = guiGridListAddRow (GUIEditor.gridlist[1]) guiGridListSetItemText ( GUIEditor.gridlist[1], row, 1, v, true, true) end end end ,false )
-
استخدم SQLite لاسوآ حساب جديد احفظه ولا حاول يسوي واحد ثاني يمنعه
-
طيب هو شآرح لكك بالمقطع وحآط لكك الأكواد بالرابط آيش فيه ؟ ذذذذ
-
لآزم المجرم تكون نجومه فوق 0 !
-
Timer = { } local jaja = { {3471.8334960938, -893.76837158203, 11.62656211853}, {3494.4184570313, -894.68341064453, 11.62656211853}, {3496.6020507813, -904.40509033203, 11.62656211853}, {3496.6020507813, -904.40509033203, 11.62656211853}, } Times = { [6] = 360000, [5] = 300000, [4] = 240000, [3] = 180000, [2] = 180000, [1] = 180000, } function jailPlayer(plr, time) if isTimer(Timer[plr]) then killTimer(Timer[plr]) end setElementPosition(plr, unpack(jaja[math.random( #jaja )])) Timer[plr] = setTimer(function(plr) setElementPosition(plr , 1572.9000244141, -1635.4000244141, 13.60000038147) end, time, 1, plr) triggerClientEvent(plr, "unJail", plr, time) setPlayerWantedLevel(plr, 0) end addEventHandler('onPlayerWasted',root,function(_,attacker) if attacker and attacker ~= source and getElementType(attacker) == 'player' and getPlayerTeam(attacker) and getTeamName(getPlayerTeam(attacker)) == '[sWAT]' then if getPlayerWantedLevel(source) > 0 and getPlayerTeam(source) and getTeamName(getPlayerTeam(source)) ~= '[sWAT]' then if Times[getPlayerWantedLevel(source)] then jailPlayer(source, Times[getPlayerWantedLevel(source)]) end end end end ) addEventHandler("onPlayerLogin", root, function(_, account) local jailT = getAccountData(account, "JailTime") if jailT then jailPlayer(source, jailT) setAccountData(account, "JailTime", false) end end) addEventHandler("onPlayerQuit", root, function( ) if isTimer(Timer[source]) then local account = getPlayerAccount(source) if account and not isGuestAccount(account) then local remaining = getTimerDetails(Timer[source]) setAccountData(account, "JailTime", remaining) end killTimer(Timer[source]) Timer[source] = nil end end )
-
لا ما تقدر تستخدم حدث ثآني لآكن تقدر تدمج سكربت التآج مع قيم مود التكتيك أقصد بكلآمي آنك تخلي الوظيفتين بحدث وآحد
-
حيآك في آي وقت حذفت التحقق فقط لا غير
-
Timer = { } local jaja = { {3471.8334960938, -893.76837158203, 11.62656211853}, {3494.4184570313, -894.68341064453, 11.62656211853}, {3496.6020507813, -904.40509033203, 11.62656211853}, {3496.6020507813, -904.40509033203, 11.62656211853}, } Times = { [6] = 360000, [5] = 300000, [4] = 240000, [3] = 180000, [2] = 180000, [1] = 180000, } function jailPlayer(plr, time) if isTimer(Timer[plr]) then killTimer(Timer[plr]) end setElementPosition(plr, unpack(jaja[math.random( #jaja )])) Timer[plr] = setTimer(function(plr) setElementPosition(plr , 1572.9000244141, -1635.4000244141, 13.60000038147) end, time, 1, plr) triggerClientEvent(plr, "unJail", plr, time) setPlayerWantedLevel(plr, 0) end addEventHandler('onPlayerDamage',root,function(attacker,weapon) if attacker and attacker ~= source and getElementType(attacker) == 'player' and getPlayerTeam(attacker) and getTeamName(getPlayerTeam(attacker)) == '[sWAT]' then if getPlayerWantedLevel(source) > 0 and getPlayerTeam(source) and getTeamName(getPlayerTeam(source)) ~= '[sWAT]' then if Times[getPlayerWantedLevel(source)] then jailPlayer(source, Times[getPlayerWantedLevel(source)]) end end end end ) addEventHandler("onPlayerLogin", root, function(_, account) local jailT = getAccountData(account, "JailTime") if jailT then jailPlayer(source, jailT) setAccountData(account, "JailTime", false) end end) addEventHandler("onPlayerQuit", root, function( ) if isTimer(Timer[source]) then local account = getPlayerAccount(source) if account and not isGuestAccount(account) then local remaining = getTimerDetails(Timer[source]) setAccountData(account, "JailTime", remaining) end killTimer(Timer[source]) Timer[source] = nil end end)
-
سطر 31 غير أيدي السلاح للي تبيه ذذ أو سوي جدول وحط فيه آيديات الآسلحة الي تبيها ذذ
-
اذا مود التكتيك فيه الحدث onPlayerChat وسكربت التآج فيه الحدث onPlayerChat فـ بيصير تعآرض بين الحدثين فـ بيكرر
-
الكود ذا مافي أنشاء ماركر فيه أنشاء بيد الي عليك تحط الأحداثيات حقته local ped = createPed ( ... ) setElementFrozen (ped, true) addEventHandler ("onClientPedDamage", ped, cancelEvent)
-
قصدك يجيب قروبات الأسل الي هو مضاف فيها ؟
-
أعتقد تقصد لاكتبت جزء من أسم الماب يجي بالبحث ؟ هنا يجي أستخدامكك لـ string.find
-
آمم قصدكك ميوت الأدمنية ولا ميوت من سكربت ثاني ؟
-
الدوائر ذي ماركر ! createMarker لما يجي ع الماركر ذا تسوي له ديتسروي destroyElement وتنشئ الماركر القدام createMarker
-
مافهمتك ؟ وضح ! فتح اللوحة "onClientMarkerHit" guiSetVisible
