Search results

Jump to navigation Jump to search
  • ...ate3DText(0,0,4,"Set text position",white) -- create a 3D text on cords 0, 0, 4 iprint(DGS:dgs3DTextGetPosition(text)) -- output "0 0 4" into debugscript
    645 bytes (82 words) - 00:31, 6 May 2020
  • ...s( element text3D [, float offsetX = 0, float offsetY = 0, float offsetZ = 0 ] ) local text = DGS:dgsCreate3DText(0,0,4,"DGS 3D Text Test",white)
    1 KB (124 words) - 10:36, 2 February 2019
  • This function gets the dimension (0-65535) of the DGS 3D Text. local text = DGS:dgsCreate3DText(0,0,4,"DGS 3D Text Test",white)
    749 bytes (87 words) - 10:16, 2 February 2019
  • veh1 = createVehicle(411,0,0,3) -- Create a vehicle objPrev = DGS:dgsCreateObjectPreviewHandle(veh,0,0,0) -- Create object preview handle
    1 KB (118 words) - 08:10, 9 February 2020
  • *'''aRed:''' The amount of red (0-255). *'''aGreen:''' The amount of green (0-255).
    1 KB (182 words) - 20:37, 23 September 2021
  • local text = DGS:dgsCreate3DText(0,0,4,"DGS 3D Text Test",white) DGS:dgsSetProperty(text,"shadow",{1,1,tocolor(0,0,0,255),true})
    792 bytes (88 words) - 10:35, 2 February 2019
  • ...nd color (3 color values 'RGB' and 1 transparency value) | example: 255 0 0 122 (Fully red and 47% transparent) **'''font''': The number of the font (0-3). | 0 - Tahoma, 1 - Verdana, 2 - Tahoma Bold, 3 - Arial
    4 KB (471 words) - 20:13, 23 September 2016
  • if height > 0 then outputChatBox ( "Aircraft height set!", 0, 200, 0 )
    1 KB (125 words) - 14:57, 6 September 2016
  • dxDrawText ( v, wx -1, wy -1, 0 -1, 0 -1, tocolor(0,0,0), 1, "default-bold" ) dxDrawText ( v, wx +1, wy -1, 0 +1, 0 -1, tocolor(0,0,0), 1, "default-bold" )
    2 KB (217 words) - 05:04, 15 April 2017
  • veh = createVehicle(411,0,0,3) -- Create a vehicle objPrev = DGS:dgsCreateObjectPreviewHandle(veh,0,0,0) -- Create object preview handle
    1 KB (132 words) - 08:02, 9 February 2020
  • local blip = createBlip ( 0, 0, 0, 47, 0, 0, 0, 0, 0, 0, 1000 );
    1 KB (73 words) - 10:16, 3 January 2014
  • Spawns hay, tree, barn, hay stack and fence as rigid body near by 0,0,0 coords createRigidBodyFromModel(3276, 0,0,10)
    1 KB (112 words) - 14:34, 19 February 2020
  • line = DGS:dgsCreate3DLine(0,0,4,0,0,45,tocolor(255,255,255,255),2,100) ...th.pi*2)*4,math.sin(i/200*math.pi*2)*4,0,4,tocolor(i/200*255,255-i/200*255,0,255),true)
    875 bytes (107 words) - 05:29, 19 April 2021
  • *'''relativeXYZ:''' relative position, default: 0,0,0 local notATable = spawnTestBox(0,0,5)
    1,023 bytes (112 words) - 11:33, 14 February 2020
  • *'''r:''' كمية الأحمر في اللون النهائي (0 to 255). *'''g:''' كمية من اللون الأخضر في اللون النهائي (0 to 255).
    1 KB (66 words) - 19:33, 8 February 2016
  • local label = exports.dgs:dgsCreateLabel(0,0,1,1,"DGS",true) local label = DGS:dgsCreateLabel(0,0,1,1,"DGS",true)
    1 KB (148 words) - 14:59, 12 June 2018
  • local text = DGS:dgsCreate3DText(0,0,4,"DGS 3D Text Test",white) DGS:dgsSetProperty(text,"shadow",{1,1,tocolor(0,0,0,255),true})
    822 bytes (97 words) - 10:33, 2 February 2019
  • gradient = DGS:dgsCreateGradient(tocolor(255,255,255,255),tocolor(0,0,0,255),0) ...= DGS:dgsCreateImage( 0.7, 0.1, 0.2, 0.1, gradient, true, _, tocolor(255,0,0,255) )
    943 bytes (97 words) - 04:32, 21 November 2021
  • local obj = createObject(1488,0,0,3,0,0,90) -- Create object local lod_obj = createObject(1337,0,0,3,0,0,90,true) -- Create LOD object
    977 bytes (120 words) - 19:41, 17 April 2024
  • *'''r:''' The amount of red in the final color (0 to 255). *'''g:''' The amount of green in the final color (0 to 255).
    951 bytes (131 words) - 13:01, 10 October 2023
View ( | ) (20 | 50 | 100 | 250 | 500)