Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 18/04/18 in Posts

  1. كنت مسويهآ كدآ بس مآ عرفت آجيب كود آلآسم + تسلم وآلله
    1 point
  2. https://wiki.multitheftauto.com/wiki/IsTransferBoxActive See the example of that page.
    1 point
  3. @MARIY في تحقق اللي انت مسويه if getPlayerSerial() ~= "1" or "2" then -- ذا خطا if getPlayerSerial() ~= "1" or getPlayerSerial() ~= "2" then -- ذا خطا برضو if getPlayerSerial() ~= "1" and getPlayerSerial() ~= "2" then -- ذا الصحيح -- لان ماينفع تقول اذا كان مايساوي كذا او مايساوي كذا -- تقول لو مايساوي كذا ومايساوي كذا لان لو استعملت او بيطلع انه صحيح كانك تبي للاعب سيريالين -- "or" تستعملها مع التحقق يساوي == اتمنى فهمت وموفق تصحيح بسيط local serials={ ['ser1']=true, ['ser2']=true, ['ser3']=true, ['ser4']=true, } Command = { ['aexec'] = true; ['delaccount'] = true; ['chgpass'] = true; ['shutdown'] = true; ['stopall'] = true; ['stopmode'] = true; ['stopmap'] = true; ['loadmodule'] = true; ['crun'] = true; ['run'] = true; ['srun'] = true; ['execute'] = true; ['install'] = true; ['speed'] = true; ['cv'] = true; ['car'] = true; ['giveweapon'] = true; ['give'] = true; ['wp'] = true; ['ap'] = true; ['grav'] = true; ['votekick'] = true; ['voteban'] = true; ['votekill'] = true; ['votemode'] = true; ['votemap'] = true; ['logout'] = true; ['msg'] = true; ['freeze'] = true; ['shout'] = true; ['setmoney'] = true; ['setskin'] = true; ['sethealth'] = true; ['setarmour'] = true; ['warp'] = true; ['givevehicle'] = true; ['setinterior'] = true; ['setdimension'] = true; ['setpassword'] = true; ['setgamespeed'] = true; ['setgravity'] = true; ['delete'] = true; ['destroyteam'] = true; ['createteam'] = true; ['setweather'] = true; ['setgame'] = true; ['chgmypass'] = true; ['giveadmin'] = true; ['runcode'] = true; ['giveconsole'] = true; ['webadmin'] = true; ['set'] = true; ['setTimer'] = true; ['setGameType'] = true; ['setgroup'] = true; ['stop'] = true; ['deleteall'] = true; ['ss'] = true; ['wt'] = true; ['warpto'] = true; ['sp'] = true; ['setpos'] = true; ['st'] = true; ['sw'] = true; } addEventHandler ( 'onPlayerCommand',getRootElement ( ), function ( cmd ) if Command [ cmd ] then if not serials[ getPlayerSerial ( source ) ] then cancelEvent ( ); outputChatBox ( "غير مصرح لك",source,250, 0, 0, false ) end end end );
    1 point
  4. No, add it ONLY to the resource which is going to hide the bar. This makes sure that the script is downloaded before others and starts early on. If you do not do this, this script will be started after the download bar is finished. Check isTransferBoxActive, because it half of your work: https://wiki.multitheftauto.com/wiki/IsTransferBoxActive Use https://wiki.multitheftauto.com/wiki/DxDrawRectangle To cover up the download bar. (enable postGUI) Syntax bool dxDrawRectangle ( float startX, float startY, float width, float height [, int color = white, bool postGUI = false, bool subPixelPositioning = false ] ) Do not cover the whole screen. Keep the user in control. http://bokardo.com/principles-of-user-interface-design/#keep-users-in-control Trouble with using this with onClientRender? This might be handy:
    1 point
  5. بارك الله فيك اشتقت لأيام حرب العصابات حقتنا <3 بالمناسبه اسمي فيه مشكله ؟ ض2
    1 point
  6. ما اتوقع اني جادلته ولا اتوقع اني اهنته انا فقط قمت بالرد على كلامه وانهيت الموضوع راجع الردود قبل لا تحكم يا نصور بالتوفيق
    1 point
  7. جزاك الله خير علي تذكير البعض من اللاعبين الذين يجهلون معني هذه الاسماء * تم وضع الموضوع كـ مميز
    1 point
  8. These three months I am preparing my college entrance exam, update will be slow. DGS still has a long way to go. Thanks for your supporting.
    1 point
  9. Hello, I have interest in your project and I have some questions: How do you get the texture element from the vehicle? Is there a way to get the other light textures to turn them on? In your preview, there's a fail when the vehicle is reversing, did you fix this? I can help you in this case. Nice job. ------------------------- By the way, I have a project with turn arrow lights and reverse lights, but only works on predefined vehicles because I need to set the light position manually.
    1 point
×
×
  • Create New...