
MR.S3D
Members-
Posts
732 -
Joined
-
Last visited
Everything posted by MR.S3D
-
guiSetProperty(mainGUI["checkbox"],"NormalTextColour","FFFF7F00") FF is the main FF7F00 color code without #
-
local barrier = nil function consoleCreateObject ( thePlayer, commandName ) if ( thePlayer ) then local x, y, z = getElementPosition ( thePlayer ) local rx,ry,rz = getElementRotation ( thePlayer ) barrier = createObject ( 981, x + 10, y, z, rx, ry, rz ) if ( barrier ) then else end end end addCommandHandler ( "b", consoleCreateObject ) if you need destroy just use if isElement(barrier) then destroyElement(barrier) barrier = nil end
-
guiSetProperty(mainGUI["checkbox"][i],"NormalTextColour","FFFF7F00")
-
I written the exact name but it doesn't work. With color codes? Maybe he used without color code
-
try with this Server addCommandHandler("givemoney", function(player, cmd, quantita, soldi) local soldi = tonumber(soldi) local quantita = findPlayerByName(tostring(quantita)) if soldi and quantita then givePlayerMoney(quantita, soldi) else outputChatBox("|Uso:| /givemoney [giocatore] [soldi]",player) end end ) function findPlayerByName (playerPart ) local players = getPlayerFromName(playerPart) if ( players ) then return players end local matches = {} for id, players in ipairs ( getElementsByType ( "player" ) ) do if ( string.find ( string.upper ( getPlayerName ( players ) ), string.upper ( playerPart ), 1, true ) ) then table.insert(matches,players) end end if #matches == 0 then return false elseif #matches == 1 then return matches[1] else return false end end
-
Does not have a problem Make sure other Function or use this to above visibility replace this showCursor(false) then put this showCursor(not isCursorShowing())
-
ايه نفس المشكلة والمتصفح ذا دايم ارد منه أكيد المشكلة من المنتدى جرب رد على موضوع من القسم الرئيسي ~ شغال الرد لكن هنا في الأقسام الجديدة مايرد
-
ايه نفس المشكلة والمتصفح ذا دايم ارد منه أكيد المشكلة من المنتدى
-
طلال نفس اللي دايم ارد منه وش تغير؟
-
ما اقدر رد حط اقتباس ويرد غريبه وش الحل؟ حتى انا مدري لية أنت نفس المشلكة؟ انا يفتح معي صندوق الرد لكن لما ارد مايطلع شي
-
ما اقدر رد حط اقتباس ويرد غريبه وش الحل؟
-
أهلين لما أجي أعلق على اي موضوع مايرد معاي الرد خربان ولكن اذا حطيت اقتباس يرد هل المشكلة عندي بس أو من الأقسام الجديدة؟
-
showFishignArea = createRadarArea ( 3122.1650390625, -1563.978515625, 300, 300, 0, 255, 255, 100 ) fishingArea = createColRectangle ( 3122.1650390625, -1563.978515625, 300, 300 ) fishingAllowed = nil local fishTimes = { {4000}, {6000}, {8000}, {10000}, {2000}, {12000}, } local fishAmount = { {3}, {4}, {5}, {6}, {7}, } function unpackTimes() return unpack(fishTimes[math.random(#fishTimes)]) end function unpackAmounts() return unpack(fishAmount[math.random(#fishAmount)]) end addCommandHandler ( "fish", function(player) --Required Arguments player local timer = unpackTimes() --if (getElementData(player, "class") == "Fisherman") then if (fishingAllowed) then setPedAnimation ( player, "SWORD", "sword_part") payTimer = setTimer( payPlayer, timer, 0 ,player) end end ) addCommandHandler ( "stopfish", function(player) ---Required Arguments player setPedAnimation(player,false) if isTimer(payTimer) then killTimer(payTimer) payTimer = nil end end ) function payPlayer(player) --- here element player local amount = unpackAmounts() givePlayerMoney( player, amount ) resetTimer ( payTimer ) --- I think this is unnecessary end addEventHandler ( "onColShapeHit", fishingArea, function( thePlayer ) if getElementType ( thePlayer ) == "player" then fishingAllowed = true end end ) addEventHandler ( "onColShapeLeave", fishingArea, function( thePlayer ) if getElementType ( thePlayer ) == "player" then fishingAllowed = false end end )
-
I'm not the OP, but is it possible to add new ones? I really do not know that there was a possibility of adding a new Because I have never experience this thing
-
You can not change the animations
-
واذا كان يبيها في وسط الشاشه local scrX,scrY = guiGetScreenSize() window = guiCreateWindow( ... ) local w,h = guiGetSize (window,false) local x,y = (scrX-w)/2,(scrY-h)/2 guiSetPosition (window,x,y,false)
-
شوف كودي اللي فوق تغير lfet و top مكتوب رقم 2 يعني يكون في وسط الشاشة انت تغير الرقم مثلا تحط 3 وراح تشوفه وين راح معك وتحط عرض النافذة او الصورة + طولها
-
هذا الكود يضبط يوسط لك النافذة والصورة على حسب حجم شاشتك local screenWidth, screenHeight = guiGetScreenSize() mainWidth,mainHeight = 350, 350 left = screenWidth/2-mainWidth/2 top = screenHeight/2-mainHeight/2 window = guiCreateWindow( left, top, mainWidth, mainHeight, "MY Window", false ) mainWidth,mainHeight = 350, 350 mainWidth العرض ,mainHeight الطول left يسار او يمين top فوق او تحت
-
لا زي حرب العصابات ----------------------------------------------------------------------------- جراند العرب هي حرب العصابات ولا ؟ المهم ابيها زي حرب العصابات لاهنت تقدر ؟ اقدر اسويه لك لكن بمقابل اذا موافق راسلني عالخاص