Jump to content

FuriouZ

Members
  • Posts

    459
  • Joined

  • Last visited

Everything posted by FuriouZ

  1. FuriouZ

    Object id ?

    What is this object id ?
  2. Trust me, it will, i did excatly the same like you, until i found this way You can even see it in my hud script how it is done https://community.multitheftauto.com/index.php?p= ... ls&id=9679
  3. I have no idea, what you did, but it works fine.
  4. I use this way, best for me. local screenW,screenH = guiGetScreenSize() local resW,resH = 1280,720 -- Your resolution (This is mine) local sW,sH = (screenW/resW), (screenH/resH) It should look like this then: local screenW,screenH = guiGetScreenSize() local resW,resH = 1280,720 local sW,sH = (screenW/resW), (screenH/resH) addEventHandler("onClientRender", root, function() if(getElementData(localPlayer,"loggedIn"))then dxDrawRectangle(0*sW, 0*sH, 1366*sW, 51*sH, tocolor(0, 0, 0, 255), true) dxDrawRectangle(0*sW, 0*sH, 1365*sW, 49*sH, tocolor(0, 9, 85, 255), true) dxDrawRectangle(1365*sW, 130*sH, 1*sW, 0*sH, tocolor(255, 255, 255, 255), true) --... end end)
  5. Thanks, I uploaded accidentally old version of the script. Updated.
  6. https://community.multitheftauto.com/index.php?p= ... ls&id=9008
  7. FuriouZ

    Garage

    I don't know if it saves, but one is here http://www.mta-sa.org/index.php?page=Th ... adID=23150
  8. Thanks, works, but cameras doesn't change only fade works @ line 36 Something is wrong, i tought that the "#" is missing from g_Cameras ,but then i get another error ( attempt to get length of field '?'
  9. Hello! I have a problem, how i should make that camera positsion changes after every 10 seconds? Maybe some tip ? Thanks This is probably wrong way, because it's not working, debug giving a bad argument @fadeCamera & @setCameraMatrix server-side: local g_Cameras = { { -2800.7409667969, 1223.7073974609, 21.463973999023, -2810.4326171875, 1124.2016601563, 23.62508392334 }; { -2667.4091796875, 375.99395751953, 10.6223487854, -2767.3198242188, 376.38967895508, 6.4156184196472 }; } addEventHandler("onPlayerJoin", root, function( ) setTimer(function() local cam_X, cam_Y, cam_Z, cam_LX, cam_LY, cam_LZ = unpack( g_Cameras[math.random(#g_Cameras)] ) fadeCamera( source, true, 5) setCameraMatrix( source, cam_X, cam_Y, cam_Z, cam_LX, cam_LY, cam_LZ) end, 1000, 1) showPlayerHudComponent( source, "all", false ) showChat( source, false ) end )
  10. Hello! I have problem, i don't know how to set up table.. I need to get engine state randomly from table like 1 = true, 2 = false, but I don't understand how to do it local engineStates = { [ 1 ] = true, [ 2 ] = false, } local state = unpack ( engineStates [ math.random ( #engineStates ) ] ) setVehicleEngineState ( source, state ) Thanks!
  11. This topic should be deleted
  12. It will be possible in future versions of MTA ?
  13. Thanks, and i hope that it will be fixed soon !
  14. Hello! Well, i have problem with mapping.. If i remove big building and create something new there, then in some angle map dissapears (open pictures in new window) Any suggestions ? Also i have another question (i am not going to create another topic for that) What is the id of this object ? Thanks!
  15. I can provide an example line if you wish Yes, ofcourse
  16. Still thinking how the hell you did so smooth handling line if it is ?
  17. V4: - Added Critical Damage message, if vehicle health is 35% or under that (open image in new window)
  18. Thanks ! I think, i am going to release it (uncomplied ofc), because i have nothing to do with it
  19. You should change selected black box ( )to something else, it's quite ugly
  20. FuriouZ

    Grass object

    You can find it in "Nature" category. Also you can find from here id's http://www.gforums.ru/topic/3389-gta-sa ... s-id-list/
×
×
  • Create New...