-
Posts
379 -
Joined
-
Last visited
-
Days Won
4
Everything posted by Ram,
-
New WnashTime || حصصريات وناسة تايم
Ram, replied to ععيونككء اخخر امممأليء ^'s topic in Arabic / العربية
Ae_7 ? -
New WnashTime || حصصريات وناسة تايم
Ram, replied to ععيونككء اخخر امممأليء ^'s topic in Arabic / العربية
يا هلاااااااا محموود وانا ابو وطن. -
New WnashTime || حصصريات وناسة تايم
Ram, replied to ععيونككء اخخر امممأليء ^'s topic in Arabic / العربية
هذا هوليود مب رامي . كيف خطأ ؟ عيني عينك ... تراني كنت ضايفك هههههههههههههههههه -
راححت عن بآلي. برجع البيت بضبطه ; - تصحيح للكود , --@Server Side function freezeTime(player,value,hour,min) if ( value == false ) then if ( getElementData(player,"WeatherTimer") == true ) then setElementData(player,"WeatherTimer") == false ) then end elseif ( value == true ) then setElementData(player,"WeatherTimer",true) local theWeather = setTimer(function(player,hour,min) triggerClientEvent(player,"SetTheTime",player,hour,min) end,1000,0) end end --@Client Side addEvent("SetTheTime",true); addEventHandler("SetTheTime",root,function (hour,min) if ( getElementData(localPlayer,"WeatherTimer") == true ) then if ( tonumber(hour) ) then if ( tonumber(min) ) then setTime (hour,min) else outputDebugString ( "Useful function(freezeTime): argument 4 may be a number." ) end else outputDebugString ( "Useful function(freezeTime): argument 3 may be a number." ) end end end ) بلتوفيق
-
New WnashTime || حصصريات وناسة تايم
Ram, replied to ععيونككء اخخر امممأليء ^'s topic in Arabic / العربية
صراحة,ابداع انستقرامه Rx07 خخخخخخخ ( Rx07 ) -
بلوحة الادمن شيء ثاني , لازم من لوحة الادمن تعدل عالكود حق تغيير الجو .
-
نحن هنا لنعلمك كيف تعمل المودات , وليس لاعطائك إياهم . قسمك خاطئ
-
تصحيح #
-
function superman () cancelEvent () end function freezeTime(player,value) if ( getElementType(player) == "player" ) then if ( value == false ) then if ( isTimer(theWeather) ) then killTimer(theWeather) end elseif ( value == true ) then theWeather = setTimer(function(player) triggerClientEvent(player,"SetTheTime",player) end,1000,0) end end end xCol = createColRectangle (-3548.16528,-3166.0693359375,280.03997802734,320) xRadar = createRadarArea (-3548.16528,-3166.0693359375,280.03997802734,0,255,0,0,255,root) setRadarAreaFlashing ( xRadar, true ) addEventHandler("onColShapeHit",resourceRoot,function (element) if ( getElementType(element) == "vehicle" ) then destroyElement(element) elseif ( getElementType(element) == "player" ) then outputChatBox("#c4c4c4亗 #ffc34a[#f75152 7maya System #ffc34a]#f75152 : آنت آلآن دآخل آلحمآية",element,255,0,255,true) toggleControl (element,"fire",false) toggleControl (element,"action",false) toggleControl (element,"aim_weapon",false) freezeTime(element,true) addEventHandler("onPlayerDamage",root,superman) end end) addEventHandler("onColShapeLeave",resourceRoot,function (element) if ( getElementType(element) == "player" ) then outputChatBox("#c4c4c4亗 #ffc34a[#f75152 7maya System #ffc34a]#f75152 : آنت آلآن خآرج آلحمآية",element,0,255,0,true) toggleControl (element,"fire",true) toggleControl (element,"action",true) toggleControl (element,"aim_weapon",true) freezeTime(element,false) removeEventHandler("onPlayerDamage",root,superman) end end) وسوي ملف كلنت وحط فيه هذا الكود addEvent("SetTheTime",true); addEventHandler("SetTheTime",root,function () setTime (12,0) end ) بالتوفيق لك , لا تبخل علينا باللايك
-
هذا القسم لمساعدة الناس في موداتهم, القسم الخاطئ . قم انت بعمل تاب جديدة في لوحة الادمنية وضع بها قوانينك الخاصة . بالتوفيق
-
اطرحلي اكواد حماية البداية وانا اسويه لك كامل
-
freezeTime فنكشن سيرفر سايد , يعمل على تجميد الوقت .. Syntax: bool freezeTime ( player thePlayer , bool value [ true , false ] ) Code : function freezeTime(player,value,hour,min) if ( value == false ) then if ( isTimer(theWeather) ) then killTimer(theWeather) end elseif ( value == true ) then theWeather = setTimer(function(player,hour,min) triggerClientEvent(player,"SetTheTime",player,hour,min) end,1000,0) end end --@Client Side addEvent("SetTheTime",true); addEventHandler("SetTheTime",root,function (hour,min) if ( tonumber(hour) ) then if ( tonumber(min) ) then setTime (hour,min) else outputDebugString ( "Useful function(freezeTime): argument 2 may be a number." ) end else outputDebugString ( "Useful function(freezeTime): argument 1 may be a number." ) end end ) thanks.
-
بالنسبة للكود الأول .. اللوحة ماتفتح نهائياً, سواء لوحة جيو عادية او لوحة ادمنية,ماتفتح دامه يحمل اما الكود الثاني إستخدم عند دخول البداية --@Server Side -- ضع هذا الكود عند دخول الكول شيب . freezeTime(source,true) -- وضع هذا الفنكشن بكود اخر لكن سيرفر سايد ولكن ليس نفس الفنكشن,فنكشن جديد function freezeTime(player,value) if ( value == false ) then if ( isTimer(theWeather) ) then killTimer(theWeather) end elseif ( value == true ) then theWeather = setTimer(function(player) triggerClientEvent(player,"SetTheTime",player) end,1000,0) end end --@Client Side addEvent("SetTheTime",true); addEventHandler("SetTheTime",root,function () setTime (12,0) end ) بالتوفيق
-
هذا المود طويل وعريض .. ولو انت مو مسويه ومو مبرمجه من الصفر راح تطول وانت تجرب تعرف وتشيل وتغير , ف الافضل انك تسويه بنفسك
-
اطرح اكواد مود الانتقالات اسويها لك ..
-
صحيحه. الارقمنت الثالث لو تبيه يظل شغال , لازم تحط صفر .
-
طيب على الاقل اتركني اساعده :3 ذذ
-
تقدر إنك تسوي مود لوحة , وهذي اللوحة فيها 2 إيدت بوكس وزرين , زر اغلاق , و زر اعطاء تاج الفكرة هي انك تكتب بالايدت الاول إسم حساب هذا الشخص , والايدت الثاني تكتب التاج الي تبي تحطه له وتضغط اعطاء تاج الفكرة كما تلاحظ , تعتمد ع الاكاونت داتا , رح تستعمل هذي الاكواد فقط . setAccountData getAccountData getAccount guiGetText triggerServerEvent "onPlayerChat" واذا تبي بسويه لك , بشكل مدفوع.
-
بكود الانتقال , حط هذا السطر فيه fadeCamera ( source, false, 1.0, 255, 0, 0 ) player = source; setTimer(EndTheFadeCamera,1600,1) وبعدين حط هذا الفنكشن بمكان ثاني بلمود بنفس الملف function EndToFadeCamera(player) if (isElement(player)) then fadeCamera(player, true, 0.5) end end - Server Side
-
اي مساعدة قلي واتساب , تواصل معي بالواتس واشرحلي هناك لاني م فهمت شي ,
-
تفضل , و لو تبي اي شي تعال واتساب انا موجود function banAPlayer(thePlayer, commandName, targetPlayer, hours, ...) if exports["integration"]:isPlayerTrialAdmin(thePlayer) then if not (targetPlayer) or not (hours) or not tonumber(hours) or tonumber(hours)<0 or not (...) then outputChatBox("SYNTAX: /" .. commandName .. " [Player Partial Nick / ID] [Time in Hours, 0 = Infinite] [Reason]", thePlayer, 255, 194, 14) else local targetPlayer, targetPlayerName = exports.global:findPlayerByPartialNick(thePlayer, targetPlayer) local targetPlayerSerial = getPlayerSerial(targetPlayer) local targetPlayerIP = getPlayerIP(targetPlayer) hours = tonumber(hours) if not (targetPlayer) then elseif (hours>168) then outputChatBox("You cannot ban for more than 7 days (168 Hours).", thePlayer, 255, 194, 14) else local thePlayerPower = exports.global:getPlayerAdminLevel(thePlayer) local targetPlayerPower = exports.global:getPlayerAdminLevel(targetPlayer) reason = table.concat({...}, " ") if (targetPlayerPower <= thePlayerPower) then -- Check the admin isn't banning someone higher rank them him local hiddenAdmin = getElementData(thePlayer, "hiddenadmin") local playerName = getPlayerName(thePlayer) local accountID = getElementData(targetPlayer, "account:id") local username = getElementData(targetPlayer, "account:username") or "N/A" local seconds = ((hours*60)*60) local rhours = hours -- text value if (hours==0) then hours = "Permanent" elseif (hours==1) then hours = "1 Hour" else hours = hours .. " Hours" end if hours == "Permanent" then reason = reason .. " (" .. hours .. ")" else reason = reason .. " (" .. hours .. ")" end exports['admin-system']:addAdminHistory(targetPlayer, thePlayer, reason, 2 , rhours) adminTitlexx = exports.global:getAdminTitle1(thePlayer) outputChatBox("[PLAYER-BAN] " .. adminTitlexx .. " banned " .. getPlayerName(targetPlayer) .. ". (" .. rhours .. ")",root,255,0,0) outputChatBox("Reason : "..reason,root,255,0,0) local banId = nil if (seconds == 0) then banId = addToBan(accountID, targetPlayerSerial, targetPlayerIP, getElementData(thePlayer, "account:id"), reason) if banId and tonumber(banId) then lastBan = mysql:query_fetch_assoc("SELECT * FROM bans WHERE id='"..banId.."'") if lastBanTimer and isTimer(lastBanTimer) then killTimer(lastBanTimer) lastBanTimer = nil end lastBanTimer = setTimer(function() lastBan = nil end, 1000*60*5,1) --5 minutes end else adminTitlex = exports.global:getAdminTitle1(thePlayer) outputChatBox("[PLAYER-BAN] " .. adminTitlex .. " banned " .. targetPlayerName .. ". (" .. seconds .. ")",root,255,0,0) outputChatBox("Reason : "..reason,root,255,0,0) addBan(nil, nil, targetPlayerSerial, thePlayer, reason, seconds) end local adminUsername = getElementData(thePlayer, "account:username") local adminUserID = getElementData(thePlayer, "account:id") local adminTitle = exports.global:getPlayerAdminTitle(thePlayer) makeForumThread(targetPlayerName or "N/A", username, hours, adminTitle , playerName, thePlayer, reason, adminUsername, adminUserID, banId ) for key, value in ipairs(getElementsByType("player")) do if getPlayerSerial(value) == targetPlayerSerial then kickPlayer(value, thePlayer, reason) end end adminTitle = exports.global:getAdminTitle1(thePlayer) if (hiddenAdmin==1) then adminTitle = "A hidden admin" end if string.lower(commandName) == "sban" then outputChatBox("[SILENT-BAN] " .. adminTitle .. " silently banned " .. targetPlayerName .. ". (" .. hours .. ")",root,255,0,0) outputChatBox("Reason: " .. reason .. ".",root,255,0,0) elseif string.lower(commandName) == "forceapp" then outputChatBox("[FA] "..adminTitle .. " " .. playerName .. " forced app " .. targetPlayerName .. ".", root, 255,0,0,) hours = "Permanent" reason = "Failure to meet server standard. Please improve yourself then appeal on forums" outputChatBox("[FA]: Reason: " .. reason .. "." ,root, 255,0,0, true) else outputChatBox("[BAN] " .. adminTitle .. " banned " .. targetPlayerName .. ". (" .. hours .. ")", root, 255,0,0) outputChatBox("[BAN] Reason: " .. reason .. ".", root, 255,0,0, true) end end end end end end addCommandHandler("pban", banAPlayer, false, false) addCommandHandler("sban", banAPlayer, false, false)
-
سطر 418 , ماهو CCCZXXX أنت مو معرفه . سطر 419 , إنت حاط احداثيات لإلمنت انت مو معرفه وهو CCCZXXX سطر 1315 , إنت مو معرف بلاير سطر 1135 انت مو معرف بلاير ايضاً