Jump to content

Michael_Tuner

Members
  • Posts

    79
  • Joined

  • Last visited

Everything posted by Michael_Tuner

  1. Michael_Tuner

    Path

    I want to create a path for a bus script. When a player enters a bus/coach, he is asked to get a random path. like path1=marker1,x,y,z or any other type A path willl contain upto 15 markers How to do that. I want to create 6 paths. Can anyone give me a model of one path? please this is important. And how to end the path. Please ehlp me.
  2. How to make that whithout command and transform on beginning.
  3. i used it into first in Freeroam but didn't work so I used in play resource 2nd Both didn't work? What could have had happened?
  4. This resource https://forum.multitheftauto.com/downloa ... php?id=183 Which is TRANSFORMERS. How to use other cars? Like Roadtrain-Optimus Bullet-Bumblebee Yosemite-IronHide etc Hydras-Starscreem and engineImportDFF,TXD,And coll changed Mustang-Barricade etc Can we use bikes too? like Arcee?
  5. I added this to Play resource and tested it didn't work what to do? function elements ( name ) -- create an object at a specified position with a specified rotation lift = createObject ( 2951, 1195.3864746094, -1779.8454589844, 12.482206344604, 89.775024414063, 0, 270.22497558594 ) triggermarker = createMarker ( 1194.0065917969, -1780.0831298828, 12.503089904785, "corona", 1, 255,255,255,0 ) rtriggermarker = createmarker ( 1194.0065917969, -1780.0831298828, 33.611827850342, "corona", 1, 0, 0, 0, 0 ) rmarker = createMarker ( 1197.3414306641, -1778.1151123047, 33.611827850342, "corona", 2, 0, 0, 0, 0 ) rmarker2 = createMarker ( 1197.1531982422, -1783.1392822266, 33.681777954102, "corona", 2, 0, 0, 0, 0) rmarker3 = createMarker ( 1191.3764648438, -1783.7474365234, 33.643081665039, "corona", 2, 0, 0, 0, 0 ) end addEventHandler ( "onResourceStart", getRootElement(), elements ) addEventHandler( 'onMarkerHit', getRootElement(), function liftup(theMarker, thePlayer) if theMarker == triggermarker and pedSkin(thePlayer) = 59 then move = moveObject ( "lift", 500, 1195.3864746094, -1779.8454589844, 32.417213439941 ) end end ) The object(lift) was supposed to spawn right? but it never did, what to do?
  6. Michael_Tuner

    Sync

    How to sync traffic lights in MTA like valhalla?
  7. No, only scripts that have been downloaded from the server will be executed and if you try to edit an existing Script it will be redownloaded. Bummer!
  8. Michael_Tuner

    Crash

    *Can clients crash MTA server? *If we can manage to create a script like a car spawner in Mods->Resources->Any servers resources, Can we use it? *How to define a Hitting player and Hit victim in Scripting? *Can scripts be used in maps? Please answer these
  9. *Truck arrived. *Weapon system:- check *collissio.... What sir? Stats system? sorry sir no stats system.
  10. Michael_Tuner

    scripts

    Can we use scripts with maps? Like can we make a door which opens when a player is near it to a stealth or race gamemode?
  11. Michael_Tuner

    Ped

    Hpw to make a ped target another and shoot then kill?
  12. I feel sorry about your brother. Have you learned lua? You can ask doubts here. And ask for help other things.
  13. 3D-s Max and ZModeler
  14. Can you give me a little more explanation?
  15. What is an export function? Please tell me.
  16. I want it to disappear in 8sec not respawn in 8sec and I want to respawn it in only 15min. I think what I made doesn't fit for dissapearing part but respawn, Ok? I think.
  17. I just want to respawn it if it is left emptied it just 8sec. And wouldn't it feel better in Server-side? Thx Very much XX3 & Karlis
  18. In an earlier post of mine it said that if you make a script and add it to play resource it will play the resource. But when I start this resource the car doesn't appear. boxwille = createVehicle ( 495, 1226.8956298828, -987.04681396484, 43.686561584473, 0, 0, 87.609985351563 ) -- create us a new vehicle if ( boxwille ) then setVehicleRespawnDelay ( newvehicle, 900000 ) -- tell the server to respawn the vehicle 15 minutes after it's blown end sanchez1 = createVehicle ( 1222.3643798828, -982.44836425781, 43.686561584473, 0, 0, 87.609985351563 ) if ( sanchez1 ) then setVehicleRespawnDelay ( newvehicle, 900000 ) -- tell the server to respawn the vehicle 15 minutes after it's blown end sanchez2 = createVehicle ( 1222.3643798828, -991.80096435547, 43.686561584473, 0, 0, 87.609985351563 ) if ( sanchez1 ) then setVehicleRespawnDelay ( newvehicle, 900000 ) -- tell the server to respawn the vehicle 15 minutes after it's blown end function chatbox ( onVehicleRespawn ) onVehicleRespawn ( boxwille ) outputChatBox ( "The Boxwille has arrived, Visit temple area and you will see" [255,0,0] ) end function followblip () createBlipAttachedTo ( boxwille, 51 ) end function playsound() onVehicleEnter (boxwille) then outputChatBox ( "#FF0000*"..getPlayerName.. "has Entered the truck" ) outputChatBox ( "#FF0000* Get the truck to the destination" ..getPlayerName.., source) onVehicleExit ( boxwille ) then outputChatBox ( "#FF0000*"..getPlayerName.." has left the truck" ) outputChatBox ( "#FF0000*Get back on the truck" ..getPlayerName..", source" ) end
  19. This is not related to MTA. If posted on Non-MTA It will never have any reply. How will you create a [ /code] with color?
  20. function spawn(player) repeat until spawnPlayer ( player, -711+math.random(1,5), 957+math.random(5,9), 12.4, 90, math.random(9,288) ) fadeCamera(player, true) setCameraTarget(player, player) end Check that. on Play->Broph.lua
×
×
  • Create New...