Jump to content

AnDReJ98

Members
  • Posts

    67
  • Joined

  • Last visited

Details

  • Gang
    x7

AnDReJ98's Achievements

Snitch

Snitch (10/54)

0

Reputation

  1. yes its old version="2.0.0" like this wz = {"1600.0","2200.0","0.1","0.0","0.0","-0.05","70","0.50","0.8","0.70","5","300.0","33.0","16.0","F","P","5.4","0.90","1","45.0","0.95","0.14","0.0","0.80","-0.10","0.5","-0.7","0.00","0.00","19000","0","0","0","3","0"} function setH() local myVeh = getPedOccupiedVehicle(localPlayer) exports["hedit"]:setHandlingFromTable(myVeh,wz) end addCommandHandler("set",setH) but still not work
  2. thanks you so much like this this hedit meta.xml "Ingame Handling Editor" version="2.0.0" type="script" author="Remi-X" description="The first, and only ingame handling editor available for San Andreas, made with MTA ofcourse!" /> -- Required Client-Scripts --> and my script server.lua function setH() local myVeh = getPedOccupiedVehicle(localPlayer) exports["hedit"]:setHandlingFromTable(myVeh,'1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.10 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0') end addCommandHandler("set",setH) meta.xml but not work why?
  3. yes its running this meta.xml "Ingame Handling Editor" version="2.0.0" type="script" author="Remi-X" description="The first, and only ingame handling editor available for San Andreas, made with MTA ofcourse!" /> -- Required Client-Scripts --> this my client function setH() local myVeh = getPedOccupiedVehicle(localPlayer) exports["hedit"]:importHandling(myVeh,'1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.10 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0') end addCommandHandler("set",setH) my meta.xml thanks you
  4. sory solidsnake14 but still error ERROR:attemt to call nil value ERROR:call : failed to call "hedit:importHandling" [string "?" ] thanks you for help me
  5. yes i add this meta.xml in resource hedit and this in my script clint side function setH() local myVeh = getPedOccupiedVehicle(localPlayer) exports["hedit"]:importHandling(myVeh,'1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.10 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0') end addCommandHandler("set",setH)
  6. ERROR:call : failed to call "hedit:importHandling" [ string "?" ]
  7. thanks you solidsnake14 how to call hedit from command to import my handling?
  8. yes i start this resource function setH(plr) local myVeh = getPedOccupiedVehicle(plr) call (getResourceFromName("hedit"),"importVehicleHandling",myVeh,'1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.10 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0') end addCommandHandler("set",setH) but still get me error EROOR: CALL : Failed to call 'hedit:importVehicleHandling'
  9. function setH(plr) local myVeh = getPedOccupiedVehicle(plr) call (getResourceFromName("hedit"),"importVehicleHandling",myVeh,'1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.10 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0') end addCommandHandler("set",setH) not work EROOR: CALL : Failed to call 'hedit:importVehicleHandling'
  10. hi guys i try to call hedit to imort my handlings this server side wz = {} function set(plr) local myVeh = getPedOccupiedVehicle(plr) call (getResourceFromName("hedit"),"importHandling",myVeh,'1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.10 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0') end addCommandHandler("set",set) but in console show me this error EROOR: CALL : Failed to call hedit 'importHandling' please some one help me
  11. i know all this setElementModel for one skin like this triggerServerEvent ("skin", getLocalPlayer()) addEvent( "skin", true ) function setSkin () setElementModel ( source, 46 ) end addEventHandler ( "skin", getRootElement(), setSkin ) but setElementModel with all skin when Button go right and lift any help -- Client Side triggerServerEvent ("skin", getLocalPlayer(),getElementModel (getLocalPlayer())) -- Server Side addEvent( "skin", true ) function setSkin (theSkin) if not theSkin then theSkin = math.random(0,100) end setElementModel ( source, theSkin ) end addEventHandler ( "skin", getRootElement(), setSkin ) this work thanks you so much you are the best scripter
  12. i know all this setElementModel for one skin like this triggerServerEvent ("skin", getLocalPlayer()) addEvent( "skin", true ) function setSkin () setElementModel ( source, 46 ) end addEventHandler ( "skin", getRootElement(), setSkin ) but setElementModel with all skin when Button go right and lift any help
  13. how? please help me thank you Is this very difficult to understand? or you just waiting for ready code? lazy people! shut up if you have any help help me or go out from topic
×
×
  • Create New...