Leaderboard
Popular Content
Showing content with the highest reputation on 20/10/16 in all areas
-
A while ago we had published a release candidate build for the upcoming release for you folks to test. This phase went fine, so we feel that we are now ready to present you with the new stable version of the mod - Multi Theft Auto: San Andreas 1.5.3! Just like before, this is an update for our current stable version series - MTA:SA 1.5. Contrary to this definition, it is rather a huge update which contains mostly smaller changes, but makes up for it with the amount of them. A lot of effort was put by @Jusonex and @sbx320 into cleaning the code and reorganizing the build system, both of which should make it easier for us to maintain MTA:SA's code base and simplify the compilation procedure. However, during the above mentioned RC testing phase we decided to revert some of the code clean-up changes and leave them for a future release due to problems they were causing. We feel it will be better that way as some of these changes simply need more work as they affect a lot of the code base, making it harder to pinpoint other issues that might be discovered. In the meantime, @ccw and @darkdreamingdan had worked on fixing bugs reported by the community. We also had updated several dependencies (third-party components which are used in our mod), including a bunch of utility libraries (such as sqlite, zlib, libpng or libjpeg) and the CEF (Chromium Embedded Framework) components. The latter especially is an important change which we had explained further in a separate post and also summarized briefly below. This update will be slightly troublesome for some of our players who are still using Windows XP and Windows Vista (which is, to be honest, a rather small amount). Regular 1.5.3 build will not work for such users, so we had prepared a legacy build just for them. Furthermore, such users need to be prepared that at some point we might drop support for Windows XP and Windows Vista for our future releases. Please read this post to learn more about this change and its consequences. Since the build system was reorganized, a lot of smaller changes which were originally made for 1.6 were also introduced in this version (as long as they were not breaking the compatibility), making it actually one of the biggest releases we have ever made (and also sort of a bridge between 1.5 series and the then-upcoming 1.6 release). You can check the list below for some of the most interesting changes, but we really recommend checking full lists of changes to check whether the feature or function you have always wanted is already available in this release: Added support for German Steam version of GTA:SA (thanks to Lakota, Mario and @Sh4dowReturns for feedback) Improved streaming of low LOD objects and increased limits Multiple popular crashes were fixed Code cleanups and improved internal error logging MTA:SA will now try to use the native screen resolution when first launched Fixed desktop resolution when minimizing with fullscreen borderless window mode Added client resource files path info to Advanced tab in Options window Added icon for Windows server executable and digitally signed the CEFLauncher executable New scripting functions: canBrowserNavigateBack(), canBrowserNavigateForward(), navigateBrowserBack(), navigateBrowserForward() and reloadBrowserPage() (developed by mabako); createTrayNotification() and isTrayNotificationEnabled() (developed by Necktrox); also resizeBrowser(), fileGetPath(), setVehicleWindowOpen() and more... Tweaks to dbQuery()/dbExec(), fileRead(), addDebugHook() and more... Fixed setBrowserAudio() not muting the sound correctly on some websites e.g. YouTube Fixed setCameraTarget() calculation (thanks to lex128) setVehiclePlateText() now works with any kind of vehicle, including motorbikes (thanks to lopezloo) Added blend parameter for setPedAnimation() (thanks to lex128) Added support for objects and weapons in ped damage events (thanks to lopezloo) Water elements are now limited to a specific dimension Fixed sniper scope disappearing after killing a ped (thanks to lopezloo) Fixed MTA sometimes not loading custom textures Fixed MTA slowly updating position of attached elements Security and performance tweaks for CEF Fixed CEF popups (e.g. <select> boxes) not being rendered correctly Added option to block server admins who login with an unrecognized serial Added duplicate log line filter for script debugging Fixed a connecting player being able to block resources from starting Tweaked logic of client resource file validation Added server logging for redirectPlayer Tweaks for admin, missiontimer, race, runcode and webbrowser resources (thanks to Dutchman101, Einheit-101 and PhrozenByte) Added map backups for Map Editor and changed its default fps limiter setting value from 36 to 50 (thanks to AleksCore for the latter) Removed the no longer needed VS2008 redist package from the installer ...and much more! A complete list of changes can be found here (recommended read) and here (incomplete, from r7816 upwards). List of changes to the resource pack can be found here (starting from and including Feb 18, 2016 upwards). Please be advised that UltraThing and older versions of ENB series mods are blocked in MTA:SA 1.5.3 due to their incompatibility with the MTA:SA web browser components. If you want to use ENB mod in 1.5.3, please update it to a newer version if your current one does not work. If, on the other hand, you want to use UltraThing mod in 1.5.3, you will not be able to do it anymore - sorry for that just like above - please update it to a newer version (v0.29 or above). Want to download MTA:SA 1.5.3? Click here to download the build for Win 7+. Looking for a legacy build for XP/Vista? You can download it here. Or you can click here to go to our home page. Once there, click the Download button at the top center of the page, then choose your build and you are set. Linux server packages are also available. This version is backwards compatible with our older 1.5 releases, but we still encourage everyone to update their clients and servers ASAP to ensure, that they benefit from bugfixes, security updates for CEF, performance tweaks or other improvements. We would like to thank the following community members for their contributions to the MTA:SA source code, resources or feedback for this release: Aboshanab, AleksCore, braydondavis, Dutchman101, Einheit-101, Lakota, lex128, lopezloo, mabako, Mario, Necktrox, PhrozenByte, qaisjp, rafalh, @Sh4dowReturns, zneext (Have you contributed to MTA:SA 1.5.3's or 1.6's source code/resources pack but were not mentioned in the above list? PM @jhxp with a link to your contribution and you will be added) We hope that you will enjoy this release. Also, please keep in mind that if you encounter a bug or a problem which was not present in previous versions, you can report it to our bugtracker. --MTA Team13 points
-
First. MTA developers rock for keeping this mod alive for more than 10 years. Kudos @ccw @Jusonex @sbx320 @darkdreamingdan @all other (former) devs.3 points
-
Prank online players on your server by showing them a BSOD (blue screen) and let them believe their PC has crashed while they are playing MTA. https://community.multitheftauto.com/index.php?p=resources&s=details&id=13748 use: /bsod PlayerName (exact) After 5 seconds the bluescreen and error sound disappears and everything is back normal. (hud elements and chat etc that are hidden to make the bluescreen look real will also return) 2 sound effects are incuded: buzzing sound loop (like can happen with Windows 7, 8, 10 bluescreens) and Windows XP error beep. Win7+ BSOD sound: bs1.mp3 (demonstration: https://www.youtube.com/watch?v=TDOolCOjE30) WinXP BSOD beep: bs2.mp3 (demonstration: https://www.youtube.com/watch?v=WdOuIJLHBEs) If you want to change the effect from default buzzing sound to the XP beep, change in client.lua the .mp3 filename to bs2.mp3 behind ''playSound''1 point
-
ما ادري صراح اذا كان الموضوع مهم او لا + ما ادري اذا كان فيه طريقة افضل من هاذي بس تعبت فيه مرة ... نسخ اي دي المركبات والصور والدي اكس كان شي مرة ممل ومتعب بس اذا ما كان هذا الشي موجود فأكيد بكون ريحت ناس كثيرين اذا بدهم شي متل ذا المهم - جميع السيارات مع الصور والاي دي حقها --------------------------------------------------- Meta.xml اولاً ملف الـ <meta> <script src="client.lua" type="client" /> <file src="602.png" /> <file src="545.png" /> <file src="496.png" /> <file src="517.png" /> <file src="401.png" /> <file src="410.png" /> <file src="518.png" /> <file src="600.png" /> <file src="527.png" /> <file src="436.png" /> <file src="589.png" /> <file src="580.png" /> <file src="419.png" /> <file src="439.png" /> <file src="533.png" /> <file src="549.png" /> <file src="526.png" /> <file src="491.png" /> <file src="474.png" /> <file src="445.png" /> <file src="467.png" /> <file src="604.png" /> <file src="426.png" /> <file src="507.png" /> <file src="547.png" /> <file src="585.png" /> <file src="405.png" /> <file src="587.png" /> <file src="409.png" /> <file src="466.png" /> <file src="550.png" /> <file src="492.png" /> <file src="566.png" /> <file src="546.png" /> <file src="540.png" /> <file src="551.png" /> <file src="421.png" /> <file src="516.png" /> <file src="529.png" /> <file src="592.png" /> <file src="553.png" /> <file src="577.png" /> <file src="488.png" /> <file src="511.png" /> <file src="497.png" /> <file src="548.png" /> <file src="563.png" /> <file src="512.png" /> <file src="476.png" /> <file src="593.png" /> <file src="447.png" /> <file src="425.png" /> <file src="519.png" /> <file src="520.png" /> <file src="460.png" /> <file src="417.png" /> <file src="469.png" /> <file src="487.png" /> <file src="513.png" /> <file src="581.png" /> <file src="510.png" /> <file src="509.png" /> <file src="522.png" /> <file src="481.png" /> <file src="461.png" /> <file src="462.png" /> <file src="448.png" /> <file src="521.png" /> <file src="468.png" /> <file src="463.png" /> <file src="586.png" /> <file src="472.png" /> <file src="473.png" /> <file src="493.png" /> <file src="595.png" /> <file src="484.png" /> <file src="430.png" /> <file src="453.png" /> <file src="452.png" /> <file src="446.png" /> <file src="454.png" /> <file src="485.png" /> <file src="552.png" /> <file src="431.png" /> <file src="438.png" /> <file src="437.png" /> <file src="574.png" /> <file src="420.png" /> <file src="525.png" /> <file src="408.png" /> <file src="416.png" /> <file src="596.png" /> <file src="433.png" /> <file src="597.png" /> <file src="427.png" /> <file src="599.png" /> <file src="490.png" /> <file src="432.png" /> <file src="528.png" /> <file src="601.png" /> <file src="407.png" /> <file src="428.png" /> <file src="544.png" /> <file src="523.png" /> <file src="470.png" /> <file src="598.png" /> <file src="499.png" /> <file src="588.png" /> <file src="609.png" /> <file src="403.png" /> <file src="498.png" /> <file src="514.png" /> <file src="524.png" /> <file src="423.png" /> <file src="532.png" /> <file src="414.png" /> <file src="578.png" /> <file src="443.png" /> <file src="486.png" /> <file src="515.png" /> <file src="406.png" /> <file src="531.png" /> <file src="573.png" /> <file src="456.png" /> <file src="455.png" /> <file src="459.png" /> <file src="543.png" /> <file src="422.png" /> <file src="583.png" /> <file src="482.png" /> <file src="478.png" /> <file src="605.png" /> <file src="554.png" /> <file src="530.png" /> <file src="418.png" /> <file src="572.png" /> <file src="582.png" /> <file src="413.png" /> <file src="440.png" /> <file src="536.png" /> <file src="575.png" /> <file src="534.png" /> <file src="567.png" /> <file src="535.png" /> <file src="576.png" /> <file src="412.png" /> <file src="402.png" /> <file src="542.png" /> <file src="603.png" /> <file src="475.png" /> <file src="449.png" /> <file src="537.png" /> <file src="538.png" /> <file src="570.png" /> <file src="441.png" /> <file src="464.png" /> <file src="501.png" /> <file src="465.png" /> <file src="564.png" /> <file src="568.png" /> <file src="557.png" /> <file src="424.png" /> <file src="471.png" /> <file src="504.png" /> <file src="495.png" /> <file src="457.png" /> <file src="539.png" /> <file src="483.png" /> <file src="508.png" /> <file src="571.png" /> <file src="500.png" /> <file src="444.png" /> <file src="556.png" /> <file src="429.png" /> <file src="411.png" /> <file src="541.png" /> <file src="559.png" /> <file src="415.png" /> <file src="561.png" /> <file src="480.png" /> <file src="560.png" /> <file src="562.png" /> <file src="506.png" /> <file src="565.png" /> <file src="451.png" /> <file src="434.png" /> <file src="558.png" /> <file src="494.png" /> <file src="555.png" /> <file src="502.png" /> <file src="477.png" /> <file src="503.png" /> <file src="579.png" /> <file src="400.png" /> <file src="404.png" /> <file src="489.png" /> <file src="505.png" /> <file src="479.png" /> <file src="442.png" /> <file src="458.png" /> <file src="606.png" /> <file src="607.png" /> <file src="610.png" /> <file src="590.png" /> <file src="569.png" /> <file src="611.png" /> <file src="584.png" /> <file src="608.png" /> <file src="435.png" /> <file src="450.png" /> <file src="591.png" /> <file src="594.png" /> </meta> Client.lua ثانياً ملف الـ addEventHandler("onClientRender", root, function() ------------------------------------------------------- [ Vehicle ] ------------------------------------------------------- [ Vehicle ] local vehicle = getPlayerOccupiedVehicle ( localPlayer ) if vehicle then local vID = getVehicleID (vehicle) if vID == 602 then DxImage = "602.png" elseif vID == 545 then DxImage = "545.png" elseif vID == 496 then DxImage = "496.png" elseif vID == 517 then DxImage = "517.png" elseif vID == 401 then DxImage = "401.png" elseif vID == 410 then DxImage = "410.png" elseif vID == 518 then DxImage = "518.png" elseif vID == 600 then DxImage = "600.png" elseif vID == 527 then DxImage = "527.png" elseif vID == 436 then DxImage = "436.png" elseif vID == 589 then DxImage = "589.png" elseif vID == 580 then DxImage = "580.png" elseif vID == 419 then DxImage = "419.png" elseif vID == 439 then DxImage = "439.png" elseif vID == 533 then DxImage = "533.png" elseif vID == 549 then DxImage = "549.png" elseif vID == 526 then DxImage = "526.png" elseif vID == 491 then DxImage = "491.png" elseif vID == 474 then DxImage = "474.png" elseif vID == 445 then DxImage = "445.png" elseif vID == 467 then DxImage = "467.png" elseif vID == 604 then DxImage = "604.png" elseif vID == 426 then DxImage = "426.png" elseif vID == 507 then DxImage = "507.png" elseif vID == 547 then DxImage = "547.png" elseif vID == 585 then DxImage = "585.png" elseif vID == 405 then DxImage = "405.png" elseif vID == 587 then DxImage = "587.png" elseif vID == 409 then DxImage = "409.png" elseif vID == 466 then DxImage = "466.png" elseif vID == 550 then DxImage = "550.png" elseif vID == 492 then DxImage = "492.png" elseif vID == 566 then DxImage = "566.png" elseif vID == 546 then DxImage = "546.png" elseif vID == 540 then DxImage = "540.png" elseif vID == 551 then DxImage = "551.png" elseif vID == 421 then DxImage = "421.png" elseif vID == 516 then DxImage = "516.png" elseif vID == 529 then DxImage = "529.png" elseif vID == 592 then DxImage = "592.png" elseif vID == 553 then DxImage = "553.png" elseif vID == 577 then DxImage = "577.png" elseif vID == 488 then DxImage = "488.png" elseif vID == 511 then DxImage = "511.png" elseif vID == 497 then DxImage = "497.png" elseif vID == 548 then DxImage = "548.png" elseif vID == 563 then DxImage = "563.png" elseif vID == 512 then DxImage = "512.png" elseif vID == 476 then DxImage = "476.png" elseif vID == 593 then DxImage = "593.png" elseif vID == 447 then DxImage = "447.png" elseif vID == 425 then DxImage = "425.png" elseif vID == 519 then DxImage = "519.png" elseif vID == 520 then DxImage = "520.png" elseif vID == 460 then DxImage = "460.png" elseif vID == 417 then DxImage = "417.png" elseif vID == 469 then DxImage = "469.png" elseif vID == 487 then DxImage = "487.png" elseif vID == 513 then DxImage = "513.png" elseif vID == 581 then DxImage = "581.png" elseif vID == 510 then DxImage = "510.png" elseif vID == 509 then DxImage = "509.png" elseif vID == 522 then DxImage = "522.png" elseif vID == 481 then DxImage = "481.png" elseif vID == 461 then DxImage = "461.png" elseif vID == 462 then DxImage = "462.png" elseif vID == 448 then DxImage = "448.png" elseif vID == 521 then DxImage = "521.png" elseif vID == 468 then DxImage = "468.png" elseif vID == 463 then DxImage = "463.png" elseif vID == 586 then DxImage = "586.png" elseif vID == 472 then DxImage = "472.png" elseif vID == 473 then DxImage = "473.png" elseif vID == 493 then DxImage = "493.png" elseif vID == 595 then DxImage = "595.png" elseif vID == 484 then DxImage = "484.png" elseif vID == 430 then DxImage = "430.png" elseif vID == 453 then DxImage = "453.png" elseif vID == 452 then DxImage = "452.png" elseif vID == 446 then DxImage = "446.png" elseif vID == 454 then DxImage = "454.png" elseif vID == 485 then DxImage = "485.png" elseif vID == 552 then DxImage = "552.png" elseif vID == 431 then DxImage = "431.png" elseif vID == 438 then DxImage = "438.png" elseif vID == 437 then DxImage = "437.png" elseif vID == 574 then DxImage = "574.png" elseif vID == 420 then DxImage = "420.png" elseif vID == 525 then DxImage = "525.png" elseif vID == 408 then DxImage = "408.png" elseif vID == 416 then DxImage = "416.png" elseif vID == 596 then DxImage = "596.png" elseif vID == 433 then DxImage = "433.png" elseif vID == 597 then DxImage = "597.png" elseif vID == 427 then DxImage = "427.png" elseif vID == 599 then DxImage = "599.png" elseif vID == 490 then DxImage = "490.png" elseif vID == 432 then DxImage = "432.png" elseif vID == 528 then DxImage = "528.png" elseif vID == 601 then DxImage = "601.png" elseif vID == 407 then DxImage = "407.png" elseif vID == 428 then DxImage = "428.png" elseif vID == 544 then DxImage = "544.png" elseif vID == 523 then DxImage = "523.png" elseif vID == 470 then DxImage = "470.png" elseif vID == 598 then DxImage = "598.png" elseif vID == 499 then DxImage = "499.png" elseif vID == 588 then DxImage = "588.png" elseif vID == 609 then DxImage = "609.png" elseif vID == 403 then DxImage = "403.png" elseif vID == 498 then DxImage = "498.png" elseif vID == 514 then DxImage = "514.png" elseif vID == 524 then DxImage = "524.png" elseif vID == 423 then DxImage = "423.png" elseif vID == 532 then DxImage = "532.png" elseif vID == 414 then DxImage = "414.png" elseif vID == 578 then DxImage = "578.png" elseif vID == 443 then DxImage = "443.png" elseif vID == 486 then DxImage = "486.png" elseif vID == 515 then DxImage = "515.png" elseif vID == 406 then DxImage = "406.png" elseif vID == 531 then DxImage = "531.png" elseif vID == 573 then DxImage = "573.png" elseif vID == 456 then DxImage = "456.png" elseif vID == 455 then DxImage = "455.png" elseif vID == 459 then DxImage = "459.png" elseif vID == 543 then DxImage = "543.png" elseif vID == 422 then DxImage = "422.png" elseif vID == 583 then DxImage = "583.png" elseif vID == 482 then DxImage = "482.png" elseif vID == 478 then DxImage = "478.png" elseif vID == 605 then DxImage = "605.png" elseif vID == 554 then DxImage = "554.png" elseif vID == 530 then DxImage = "530.png" elseif vID == 418 then DxImage = "418.png" elseif vID == 572 then DxImage = "572.png" elseif vID == 582 then DxImage = "582.png" elseif vID == 413 then DxImage = "413.png" elseif vID == 440 then DxImage = "440.png" elseif vID == 536 then DxImage = "536.png" elseif vID == 575 then DxImage = "575.png" elseif vID == 534 then DxImage = "534.png" elseif vID == 567 then DxImage = "567.png" elseif vID == 535 then DxImage = "535.png" elseif vID == 576 then DxImage = "576.png" elseif vID == 412 then DxImage = "412.png" elseif vID == 402 then DxImage = "402.png" elseif vID == 542 then DxImage = "542.png" elseif vID == 603 then DxImage = "603.png" elseif vID == 475 then DxImage = "475.png" elseif vID == 449 then DxImage = "449.png" elseif vID == 537 then DxImage = "537.png" elseif vID == 538 then DxImage = "538.png" elseif vID == 570 then DxImage = "570.png" elseif vID == 441 then DxImage = "441.png" elseif vID == 464 then DxImage = "464.png" elseif vID == 501 then DxImage = "501.png" elseif vID == 465 then DxImage = "465.png" elseif vID == 564 then DxImage = "564.png" elseif vID == 568 then DxImage = "568.png" elseif vID == 557 then DxImage = "557.png" elseif vID == 424 then DxImage = "424.png" elseif vID == 471 then DxImage = "471.png" elseif vID == 504 then DxImage = "504.png" elseif vID == 495 then DxImage = "495.png" elseif vID == 457 then DxImage = "457.png" elseif vID == 539 then DxImage = "539.png" elseif vID == 483 then DxImage = "483.png" elseif vID == 508 then DxImage = "508.png" elseif vID == 571 then DxImage = "571.png" elseif vID == 500 then DxImage = "500.png" elseif vID == 444 then DxImage = "444.png" elseif vID == 556 then DxImage = "556.png" elseif vID == 429 then DxImage = "429.png" elseif vID == 411 then DxImage = "411.png" elseif vID == 541 then DxImage = "541.png" elseif vID == 559 then DxImage = "559.png" elseif vID == 415 then DxImage = "415.png" elseif vID == 561 then DxImage = "561.png" elseif vID == 480 then DxImage = "480.png" elseif vID == 560 then DxImage = "560.png" elseif vID == 562 then DxImage = "562.png" elseif vID == 506 then DxImage = "506.png" elseif vID == 565 then DxImage = "565.png" elseif vID == 451 then DxImage = "451.png" elseif vID == 434 then DxImage = "434.png" elseif vID == 558 then DxImage = "558.png" elseif vID == 494 then DxImage = "494.png" elseif vID == 555 then DxImage = "555.png" elseif vID == 502 then DxImage = "502.png" elseif vID == 477 then DxImage = "477.png" elseif vID == 503 then DxImage = "503.png" elseif vID == 579 then DxImage = "579.png" elseif vID == 400 then DxImage = "400.png" elseif vID == 404 then DxImage = "404.png" elseif vID == 489 then DxImage = "489.png" elseif vID == 505 then DxImage = "505.png" elseif vID == 479 then DxImage = "479.png" elseif vID == 442 then DxImage = "442.png" elseif vID == 458 then DxImage = "458.png" elseif vID == 606 then DxImage = "606.png" elseif vID == 607 then DxImage = "607.png" elseif vID == 610 then DxImage = "610.png" elseif vID == 590 then DxImage = "590.png" elseif vID == 569 then DxImage = "569.png" elseif vID == 611 then DxImage = "611.png" elseif vID == 584 then DxImage = "584.png" elseif vID == 608 then DxImage = "608.png" elseif vID == 435 then DxImage = "435.png" elseif vID == 450 then DxImage = "450.png" elseif vID == 591 then DxImage = "591.png" elseif vID == 594 then DxImage = "594.png" end VehicleImageAlpha = 255 else VehicleImageAlpha = 0 end dxDrawImage((screenW - 100) / 2, (screenH - (40+50)), 100, 40, DxImage, 0, 0, 0, tocolor(255, 255, 255, VehicleImageAlpha), false) ------------------------------------------------------- [ Vehicle ] ------------------------------------------------------- [ Vehicle ] end ) ثالثاً الصور Download From Here 8.26 MB (8,670,979 bytes) -------------------------------------------------------------------------------------------------- سؤال مهم بالنسبة لي هل هذا الشي يستاهل انه يتثبت ؟ اذا لا قولولي هل فيه طريقة اسوي اشياء تفيدكم وتتثبت ؟؟ !!1 point
-
1 point
-
شكراً لك طه فيه فرق كبير ياعبد الكريم انا حملت كل صور السيارات - وقت حملتهم ما كانو بالاي دي - كانو بالإسم انا خليتهم بالاي دي الحين وقت تبي تسوي شي معين مع اي دي سيارة معينة وش بتسوي ؟ انا سويت هذا الشي ميشان كذا مب مهم يستحق التثبيت او لا المهم اذا فيه احد بده شي متل كذا - هاي موجود -------------------------- شكراً لك على التعليق1 point
-
Никогда не используйте SELECT * в своих проектах, всегда указывайте реально нужные поля для выборки.1 point
-
1 point
-
Нет, не ошибаетесь, не совсем то написал. Ресурсы запущены всегда, просто нужно будет установить порядок, какой запуститься первым, а какой второй. Далее с помощью события onClientResourceStart уже отслеживать.1 point
-
1 point
-
Многие из этих групп (типа RPC) принадлежат различным встроенным ресурсам. Вам достаточно только Everyone, Admin, Console.1 point
-
1 point
-
اخوي بـ امكانك تختصر الكلنت ببساطة ومن الافضل انك تستخدم getElementModel وليس getVehicleID الكود local screenH,screenW = guiGetScreenSize ( ) addEventHandler("onClientRender", root, function() local vehicle = getPlayerOccupiedVehicle ( localPlayer ) if vehicle then DxImage = getElementModel ( vehicle )..".png" VehicleImageAlpha = 255 dxDrawImage((screenW - 100) / 2, (screenH - (40+50)), 100, 40, DxImage, 0, 0, 0, tocolor(255, 255, 255, VehicleImageAlpha), false) end end )1 point
-
1 point
-
You could enable supersampling in your graphics card settings: http://www.geforce.com/hardware/technology/dsr/technology (I guess there's something similar for AMD cards)1 point
-
I think you can use callRemote even without adding to remote server additional resources. Just make a call with some fake data and then check error code in callbackResponse. If server offline then you will get some timeout error code. If server online then it will be some "access denied" error or something different. More info about error codes: https://wiki.multitheftauto.com/wiki/Template:Error_codes_for_callRemote_and_fetchRemote1 point
-
1 point
-
Made an automated script to pull MTA:SA's wiki once every month, all wiki versions will be available at: https://mta.ggcommunity.net/arkives/ Latest: 10-17-20161 point
-
You should be able to do this fairly easily with callRemote. You can specify a resource and a function name to execute. Go wild with it1 point