Jump to content

Captain Cody

Members
  • Posts

    2,753
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by Captain Cody

  1. function Spawndog (source) local x,y,z = getElementPosition (source) local rot= 90 local skin=79 local interior=0 local dimension=0 local team=GetPlayerTeam (source) local weapon=0 local mode= "following" local modesubject=source call (getResourceFromName("slothbot"), "spawnBot", x, y+5, z, rot, skin, interior, dimension, team, weapon, mode, modesubject) end addCommandHandler("spawndog", Spawndog)
  2. How would I make it so in a rocket car I made while using Nos the flame is way bigger --The rocket car is a real car I just made a model on gta for it--
  3. When I add large boat mods the instant the boats hit the water they go crazy and then the player driving the boat either times out or dies
  4. What im mean is In game you can walk to the back of a train thats backed up to a cart and attach it
  5. Captain Cody

    Trains

    How would I make it so i can attach train carts to a train example while standing next to the couplings by command it attaches them?
  6. Is there any way I can make a bot/dog that follows a certain player and attacks if someone attacks the player ive tryed everything but nothing seams to work the dog always attacks the player who spawns it
  7. Does the police job accually work?
  8. any one have an idea on how to do this
  9. Im not sure how I'd make it download when the other downloads finnish
  10. Deers multitheftauto RP and Mta Rp I can see a difference
  11. Captain Cody

    Files

    How can I make the base files on my server download first aka jobs gui just about everything but the skins Then have the skins download?
  12. Ok https://community.multitheftauto.com/in ... ls&id=4746 try that
  13. hmm furniture Ik a plugin that allows you to add crap and move it around and junk you can probably edit it to work with the furniture shop
  14. Rudransh I know it was mean to say what I said but you cant sell something like this when from the picures You can easly copy it and it needs more detail
  15. hmm I'll have to try to do it I cant script for shit though
  16. Planning on selling this?? -5 dollors maybe
  17. How much would you charge a month?
  18. How would I make a rope/winch system so people can pull other cars with any truck / car with a winch installed Or just have a rope people can buy to pull cars How would I set this up
  19. Ive edited an old script of mine for Police And I'd like to add a skin selecter How would I do this? MainScript Police = createTeam("Police", 0, 0, 35) PoliceTeams = { [Police] = true } function teamSet ( ) local team = getTeamFromName ( "Police" ) if team then setPlayerTeam ( source, team ) setPlayerNametagColor ( source, 0, 0, 35 ) giveWeapon ( source, 23, 1000, true ) giveWeapon ( source, 3, 1, true ) outputChatBox("", thePlayer) else local teamw = getTeamFromName ( "Police" ) if teamw then cancelEvent() outputChatBox("", source) end end end addEvent ( "sPolice", true) addEventHandler ( "sPolice", root, teamSet ) Other script "There is 1 of these for every police station GUIEditor = { memo = {}, button = {}, window = {}, } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(0.29, 0.24, 0.42, 0.49, "", true) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1], false) bAccept = guiCreateMemo(0.08, 0.20, 0.41, 0.67, "", true, GUIEditor.window[1]) bAccept = guiCreateButton(0.60, 0.20, 0.34, 0.17, "Accept Job", true, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "sa-header") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") addEventHandler("onClientGUIClick", bAccept, showGUIbf, false) addEventHandler("onClientGUIClick", bAccept, joinTeam, false) bClose = guiCreateButton(0.67, 0.61, 0.20, 0.16, "CLOSE", true, GUIEditor.window[1]) guiSetProperty(bClose, "NormalTextColour", "FFAAAAAA") addEventHandler("onClientGUIClick", bClose, showGUIbf, false) GUIEditor.memo[1] = guiCreateMemo(0.08, 0.20, 0.41, 0.67, "PoliceJob Chose To Get Into Police then choose A skin!", true, GUIEditor.window[1]) end ) local joinBD = createMarker(-217.2392578125, 979.220703125, 17.500894546509, "cylinder", 2, 0, 0, 35) addEventHandler( "onClientResourceStart", getRootElement( ), function ( startedRes ) end ); function showGUIbt(hitElement) if getElementType(hitElement) == "player" and (hitElement == localPlayer) then guiSetVisible(GUIEditor.window[1], true) showCursor( true ) end end addEventHandler("onClientMarkerHit", joinBD, showGUIbt) function showGUIbf() guiSetVisible (GUIEditor.window[1], false ) showCursor ( false ) end function joinTeam() triggerServerEvent("sPolice", localPlayer, "teamSet") end
  20. ok Thx I will try it when I get my server back up
  21. nvm the colison files wont change the wheels colisons
  22. And I have spawn cars that I want to respawn at the spawn when they explode or /respawn is triggerd but the explode respawn function on there is affecting this script
  23. Theres a command set up /carpark and /acarpark that should set the vehicles spawn location I want it so people can do /carpark at their house and it will set the cars respawn location and I have no idea how to do this
×
×
  • Create New...