Jump to content

Sarrum

Scripting Moderators
  • Posts

    1,039
  • Joined

  • Days Won

    11

Everything posted by Sarrum

  1. Sarrum

    [WIP]MTAM

    Really great idea. Good luck, i wait for release.
  2. This function enable use customized GTA:SA data files. Edit your 'data/handling.cfg' and run MTA:SA. https://wiki.multitheftauto.com/wiki/Ant ... fied_files
  3. - Описание бага: Баг с функцией setVehicleComponentVisible. Если любой компонент автомобиля сделать невидимым, обратно его можно вернуть только после выхода из зоны прорисовки. - Как часто он проявляется: Всегда. - Версия в которой этот баг встречается: 1.3.1 Видео:
  4. В админ панели регистрация, она запущена?
  5. https://community.multitheftauto.com/ind ... ls&id=6241 Script by CrystalMV (http://crystalmv.net84.net) + Spyware ( Virus ) DONE
  6. Sarrum

    [HELP] Debug

    local screenWidth, screenHeight = guiGetScreenSize ( ) local font = dxCreateFont ( "font_sr.ttf", 18 ) local currentMessage = 1 local messagesList = { [ 1 ] = "You are playing in X-Proffessionals", [ 2 ] = "Press F9 for help!", [ 3 ] = "Server Owner: Se[X]^^", [ 4 ] = "Have Fun!", } -- ******************** -- * Event handlers * -- ******************** addEventHandler ( "onClientRender", root, function ( ) dxDrawRectangle ( screenWidth - 204, 4, 200, 20, tocolor ( 0, 0, 0, 192 ), false ) dxDrawText ( messagesList [ currentMessage ], screenWidth - 202, 6, screenWidth - 6, 16, tocolor ( 250, 50, 0, 255 ), 1, font, "center", "top", false, false, true ) end ) function updateMessage ( ) if ( currentMessage == #messagesList ) then currentMessage = 1 else currentMessage = currentMessage + 1 end end setTimer ( updateMessage, 5000, 0 )
  7. Sarrum

    Le eld times

    http://web.archive.org/web/200603291440 ... mtavc.com/ Best design
  8. Sarrum

    Help in Opening Ports !

    Maybe default user/pass not 'admin'? Try searching in google: link
  9. Поздравляю с тем, что мы пережили 2012 год.
  10. Sarrum

    html and xlm

    Use php, example: <? $xml = simplexml_load_file ( 'http://apps.mta-tr.com/ASE/176.9.40.71:22078.xml' ); echo $xml->name; ?> Result: server name.
  11. Мм, забудь про onClientRender, используй эти события: onClientVehicleEnter / onClientVehicleExit Для удаления картинки / проверки на ее наличие: destroyElement / isElement
  12. addEventHandler ( "onClientRender", root, function ( ) local theVehicle = getPedOccupiedVehicle ( localPlayer ) if ( theVehicle ) then if getVehicleOverrideLights ( theVehicle ) == 2 then --guiCreateStaticImage ( ... ) end end end )
  13. getVehicleOverrideLights + guiCreateStaticImage или dxDrawImage
  14. search.php?keywords=engineApplyShaderToWorldTexture Есть много рабочих вариантов, отредактируй под себя.
  15. Использовал этот ресурс, понравился. http://crystalmv.net84.net/pages/scripts/drawtag.php
×
×
  • Create New...