-
Posts
7,337 -
Joined
-
Days Won
11
Everything posted by TAPL
-
الرابط خربان، صلح الرابط ينقل إلى قسم المساهمات
-
كودكك صحيح لآكن أنت ما عرفت السورس بالتآيمر فــ مآ رآح يشتغل اصلا اثنينكم خطأ عشان لو اللاعب مات و فوراً خرج من السيرفر ما يجي خطأ بالدي بق isElement لازم تستخدمو داخل التايمر
-
if killer and getElementType(killer) == "player" and getPlayerTeam (killer) and getTeamName ( getPlayerTeam ( killer ) ) == "V" then
-
addEventHandler("onPlayerWasted", root, function() if getPlayerTeam(source) == getTeamFromName("V") then setTimer(function (source) if isElement(source) then spawnPlayer(source, 2264.072265625, -1104.564453125, 37.9765625) end end, 4000, 1, source) end end)
-
اصلا عمري 21
-
Client for Mouse resource: function setMouseState(state) showCursor(state) end export in the meta: function="setMouseState" type="client"/> Usage: exports.Mouse:setMouseState(true) -- to show the mouse exports.Mouse:setMouseState(false) -- to hide the mouse
-
Custom animations is not possible yet, more info in the link: https://bugs.multitheftauto.com/view.php?id=4571
-
function giveSomeoneMoney(player, cmd, target, amount) amount = tonumber(amount) if target and amount then local targetplayer = getPlayerFromParticalName(target) local r,g,b = getPlayerNametagColor(player) -- Not used anywhere if targetplayer then if (targetplayer ~= player) then local money = getPlayerMoney(player) if money >= amount and amount > 0 then givePlayerMoney(targetplayer, amount) takePlayerMoney(player, amount) local pName = getPlayerName(player) local tName = getPlayerName(targetplayer) for _, p in ipairs(getElementsByType("player")) do if getElementData(p, "lang") == "EN" then outputChatBox("#0044FF[PAY] #FFFFFFPlayer "..pName.." #FFFFFFsent #FF0000["..tostring(amount).."] #FFFFFFPoints to player "..tName, p, 255, 255, 255, true) else outputChatBox("#0044FF[PAY] #FFFFFFTEST "..pName.." #FFFFFFtest #FF0000["..tostring(amount).."] #FFFFFFtest test "..tName, p, 255, 255, 255, true) end end else outputChatBox("#0044FF[PAY] #FFFFFFIncorrectly entered amount", player, 255, 255, 255, true) end else outputChatBox("#0044FF[PAY] #FFFFFFYou cannot Points yourself!", player, 255, 255, 255, true) end else outputChatBox("#0044FF[PAY] #FF0000Player not found", player, 255, 255, 255, true) end else outputChatBox("#0044FF[PAY] #FFFFFFUsage: /pay [Name] [Points]", player, 255, 255, 255, true) end end addCommandHandler("pay", giveSomeoneMoney) function getPlayerFromParticalName(thePlayerName) local thePlayer = getPlayerFromName(thePlayerName) if thePlayer then return thePlayer end for _,thePlayer in ipairs(getElementsByType("player")) do if string.find(string.gsub(getPlayerName(thePlayer):lower(),"#%x%x%x%x%x%x", ""), thePlayerName:lower(), 1, true) then return thePlayer end end return false end
-
countryLang = { [1] = "English", [2] = "Español", [3] = "官話/官话", [4] = "العربيَّة", [5] = "Português", [6] = "Русский", [7] = "日本語", [8] = "Deutsch", [9] = "Indonesia", [10] = "한국어", [11] = "Français", [12] = "Français", [13] = "Italiano", [14] = "Polski", }
-
كودك ناقصه النقاط outputTopChat("*#00FF00There Are [ " ..#getElementsByType ( "player" ).." ] players ", 0, 150, 250)
-
المشكلة ذي من الكيبورد نفسه من التصنيع
-
for i,top in ipairs(topslist) do outputChatBox(top.Score) end
-
كل كلامك رسالة رسالة رسالة و حاط 212 سطر تفضل ذا فنكشن رسالة outputChatBox
-
http://battlelog.battlefield.com/bf4/battlereport/show/1/636114468744121664/920445446/
-
'setWorldSoundEnabled'
-
local x, y = guiGetScreenSize() local myFont = nil -- You need this? addEventHandler("onClientRender", root, function() dxDrawRectangle(x/1.2, y/5, x/7, y/25, tocolor(0, 0, 0, 150)) dxDrawText("Game Points:"..getPlayerMoney(), x/1.2, y/5, x, y, tocolor(255, 255, 255, 255), 1, "bankgothic") end)
-
You can guess within the following variables: Post by StunterLetsPlay on Wed Oct 01, 2014 6:34 pm Last visited: Wed Oct 01, 2014 6:51 pm Posts: 1
-
الأفضل تستخدم ذا النوع بحيث تقدر تسوي مجموعة من الخيارات و خيار واحد فقط الي تقدر تحدد عليه بوقت واحد guiCreateRadioButton
-
في حاله النافذه كان من الأفضل تستخدم الفنكشن ذا guiGetVisible يعني زي الطيران
-
في حاله ان ما فيه فنكشن زي مثال الطيران ممكن تستخدم متغير وتسوي الشي تبيه true تحط المتغير false اول ما تضغط الزر تسوي تحقق من المتغير إذا كان false تسوي الشي الثاني الي تبيه و تحط المتغير true إذا كان
-
isWorldSpecialPropertyEnabled تابل فهمتني غلط انا قلت مثال يعني في طيران اذا ضغط عليه يصير اذا مرة ثانية ضغط يروح و انا عطيتك مثال للحل على المثال الي انت طرحته
