Jump to content

ViRuZGamiing

Members
  • Posts

    1,050
  • Joined

  • Last visited

Everything posted by ViRuZGamiing

  1. Hello Community, I tried to make a GUI which is visible on the command /heal and dissapears on the command /heal too. CLIENT: function createHealWindow() local X = 0.375 local Y = 0.375 local Width = 0.25 local Height = 0.25 heal = guiCreateWindow(X, Y, Width, Height, "Heal yourself", true) guiSetVisible ( heal, 0 ) end function changeVisibility ( ) guiSetVisible (heal, not guiGetVisible ( heal ) ) end addCommandHandler("heal", changeVisibility)
  2. and maybe a txd and dff with a bigger skin? or isn't that possible
  3. Hello, As I didn't found a parameter for setPedSize so I ask you guys how can I set peds size? I want them to have the size 1.5 (1 and a Half Ped Size big) Thx in advance
  4. Try this: a51gate1 = createObject ( 6959, 2607.5, -4128.2998046875, 18.700000762939, 0, 0, 0 ) a51col = createColCircle ( 2607.6000976563, -4128.7998046875, 43 ) function opena51gates(thePlayer) moveObject (a51gate1, 5000, 2607.5, -4128.2998046875, 42.599998474121 ) end addEventHandler( "onColShapeHit", a51col, opena51gates ) function closea51gates(thePlayer) moveObject (a51gate1, 5000, 2607.5, -4128.2998046875, 18.700000762939 ) end addEventHandler( "onColShapeLeave", a51col, closea51gates ) When I see this code I agree with TAPL there's 1 Argument to much. You don't need a Z coordinate in that Function. fX: The collision circle's center point's X axis position fY: The collision circle's center point's Y axis position radius The radius of the collision circle
  5. No Camera Programm but some MTA Camera Programm
  6. Is this a Pay 'n Spray? Because I have a Working One if you want it send me a PM
  7. Hello, Is there anyway to Install some client Script that I can use on all Servers to Record Movies? A Camera that you don't see your Player Character
  8. Hello, I made this for a friend: local myMarker = createMarker(2579.3999023438, -1894, 3.9000000953674, 'cylinder', 4.0, 0, 0, 255, 150) function MarkerHit( hitElement, matchingDimension ) spawnPlayer(hitElement, 2574.1999511719, -1784.3000488281, 1.6000000238419) end addEventHandler( "onMarkerHit", myMarker, MarkerHit ) He want that a car comes in the car also moves to the location
  9. IIYAMA is helping in Skype, he's good so I think it will be fixed soon
  10. local myMarker = createMarker(-2620.7634277344, 1376.0603027344, 7.1228446960449, 'cylinder', 2.0, 255, 0, 0, 150) -- create myMarker function MarkerHit( hitElement, matchingDimension ) if getElementType( hitElement ) == "player" then setElementInterior( hitElement, 3, 1494.3350, 1305.6510, 1093.2890) end end setElementInterior(myMarker,3, 1494.3350, 1305.6510, 1093.2890)-- I have set it to interior 3, if that isn't your interior you have to change the value setElementDimension(myMarker, 3) addEventHandler( "onMarkerHit", myMarker, MarkerHit ) doesn't work
  11. Thanks but where is a Dimension needed for? (Noob question) I know an Interior is in an other world then but still Dimension 0
  12. local myMarker = createMarker(-2620.7634277344, 1376.0603027344, 7.1228446960449, 'cylinder', 2.0, 255, 0, 0, 150) -- create myMarker function MarkerHit( hitElement, matchingDimension ) local elementType = getElementType( hitElement ) setElementInterior(source, 3, 1494.3350, 1305.6510, 1093.2890) end addEventHandler( "onMarkerHit", myMarker, MarkerHit ) local marker = createMarker() setElementInterior(myMarker, 1494.3350, 1305.6510, 1093.2890) setElementDimension(myMarker, 3) Correct?
  13. Google: GTA3.IMG download
  14. Thanks, Can I set a Marker in an Interior and how?
  15. Thank You I will try that and reply if it worked or not.
  16. Here's my code, No Errors but Marker dissapears after hit and nothing happens furter. local myMarker = createMarker(-2620.7634277344, 1376.0603027344, 7.1228446960449, 'cylinder', 2.0, 255, 0, 0, 150) -- create myMarker function MarkerHit( hitElement, matchingDimension ) -- define MarkerHit function for the handler local elementType = getElementType( hitElement ) -- get the hit element's type setElementInterior(source, 3, 1494.3350, 1305.6510, 1093.2890) end addEventHandler( "onMarkerHit", myMarker, MarkerHit )
  17. So is it possible to make a new room in Interior ID 1 or 2... ?
  18. + Where can I get the Id's for the interiors in this function? @SolidSnake14 Is every Interior an new dimension? So I can create as example an interior in ID 1 and use other coordinates? + Are there more Interiors in 1 ID but other coordinates?
  19. Ok does this also work with own created Interiors?
  20. Hello Community, How can I make my own Interior? and how can I go in it with a Marker? The Marker is createMarker with a script as far as I know.
  21. Hello Community, I want to make a Marker (createMarker) when onMarkerHit I want to enter an interior. How can I make it enter it and how to return with another marker. Thanks.
  22. You need to make all the buttons also with GUI editor. Then you need to paste it into an .lua your Client Side and trigger it with the server side with the functions what your button's need to do.
  23. Look in the Object List of Map Editor.
×
×
  • Create New...