Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 14/08/21 in all areas

  1. ببساطة شاركنا باغنيتك المفضلة اجنبي او عربي كل الي عليك - اسم الاغنية او رابط - المغني او المغنية | او اسم القناة او الفرقة بعض الاغاني الي احبها : اسم الاغنية : Closer اسم القناة : Chainsmokers -- اسم الاغنية : Rockabye اسم الفرقة : Clean Bandit -- اسم الاغنية : Swalla اسم المغني : Jason Derulo الصراحة في كثير بس بضيفهم بعدين
    1 point
  2. مع أن الموضوع قديم لكن فالقسم العام فما يأثر عالعموم بالنسبة لذوقي غريب عليكم شوي لكني أميل للعود السبب الصراحة فيه روقان وأدري ان ذوقي صعب . بالنسبة لـ نوع ثاني آميل لـ موسيقى بدون كلمات مثل الفنان Nujabes من أبرز أغانيه : Aburian Dance Nujabes - Counting Stars : أما أغنيته فهي فيت ما بين رابر بعنوان luv موسيقته جميلة جداً وتحسها تدور فعقلك من قوة جمالها وأنصح أي واحد يسمع موسيقى نوجابي من أفضل مؤلفين للموسيق بالتوفيق للجميع .
    1 point
  3. Dear MTA community, this resource renders mathematical formulas in scientific notation. It does solely contain internal Lua functions that should be used inside this resource. You are allowed to take the code from this resource into your own project without restrictions (if you do I would greatly appreciate a post in this thread with a link to the project you used my code in, maybe for further support). GitHub: quiret/lua_math_formulas: Math formulation renderer for MTA San Andreas written in Lua (github.com) Example commands: dt disfract dt fraction dt sqroot dt realdf dt realfract dt realexp dt realexpfract dt realrootfract dt realadd dt realaddcomplex dt realaddcomplex2 dt realaddcomplex3 dt realaddcomplex4 dt realdiv dt realdivcomplex dt realdivcomplex2 dt realdivcomplex3 dt realdivcomplex4 dt realdivcomplex5 dt off Public API: fraction createFraction( df counter, df divisor ) real createRealNumber( realvalue value ) number math_add( number a, number, b ) number math_sub( number a, number b ) number math_mul( number a, number b ) number math_div( number a, number b ) number math_pow( number a, number b ) number math_neg( number a ) number math_inv( number a ) number math_simple( number a ) bool math_eq( number a, number b ) bool math_lt( number a, number b ) bool math_le( number a, number b ) number is a regular Lua numeric value (1, 2, 3, 4, math.pi, math.exp(1), etc) any approximated value is not calculated-on in the math engine, you should stick to fractions which require natural numbers, zero or negative natural numbers (df type) objects returned by the math_ family of functions as well as createFraction or createRealNumber have the Lua operators +, -, /, *, ^, ==, <, <= overloaded to simplify usage real numbers such as math.pi or math.exp(1) are generarilly not specially implemented beyond visual representation; to simplify the implementation of real number comparison I have resorted to calculating the machine approximation and comparing based on that; improvement would require proven real number representation comparisons and their implementations; feel free to contribute any add-ons to the code in this topic which I might merge drawobj createDrawingFormula( number formula ) void drawobj.draw( float xoff, float yoff, float scale ) float(x), float(y) drawobj.getSize() Motivation: This resource should be used to get a mathematical result that is scientifically correct and is not based on a machine-accelerated approximated calculation. I created this code as part of a mathematical project I am working on that I will disclose at a later date. Noteworthy technology: A custom UI layout engine is being used to draw the formulas. Dependency graph logic is being used to perform node-based computation, reusing many results with efficiency in mind. Have fun!
    1 point
  4. try this script client-side function minimize() for k, player in ipairs(getElementsByType("player")) do if getElementData(player, "minimize") then local screenWidth, screenHeight = guiGetScreenSize() local sx,sy = getScreenFromWorldPosition (getElementPosition(player)) dxDrawText("Janela Minimizada",sx,sy,screenWidth, screenHeight,tocolor ( 255, 255, 0, 0 ), 1.5,"sans") end end end addEventHandler("onClientRender",rootElement, minimize) function handleMinimize() setElementData(localPlayer, "minimize", true) end addEventHandler( "onClientMinimize", root, handleMinimize ) function handleRestore() setElementData(localPlayer, "minimize", false) end addEventHandler("onClientRestore",root,handleRestore)
    0 points
×
×
  • Create New...