Jump to content

Captain Cody

Members
  • Posts

    2,753
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by Captain Cody

  1. No errors.
  2. Any one know why this is not working?
  3. Not wanting to work, Assuming that MARKER should be changed to the markers name I set it, nothing.
  4. I'm attempting to open gui from marking hit but it's not wanting to work, nothing in debug script-- Server side - function gui (hitElement) if getElementType (hitElement) == "player" then triggerEvent ( "OnMenuClick", resourceRoot ) else return false end end Client side "GUI Stuff" GUIEditor = { button = {}, window = {}, memo = {} } addEvent( "OnMenuClick", true ) addEventHandler("OnMenuClick", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(0.35, 0.35, 0.29, 0.31, "Trucking", true) guiWindowSetMovable(GUIEditor.window[1], false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.73) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFFFEFE") GUIEditor.button[1] = guiCreateButton(0.39, 0.38, 0.22, 0.05, "Accept Legal Load", true) GUIEditor.button[2] = guiCreateButton(0.39, 0.44, 0.22, 0.05, "Accept Illegal Load", true) GUIEditor.button[3] = guiCreateButton(0.40, 0.50, 0.21, 0.07, "Cancel", true) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFC30000") GUIEditor.memo[1] = guiCreateMemo(0.39, 0.58, 0.23, 0.07, "Trucking Job is new, it may have bugs. If you find any please report.", true) guiMemoSetReadOnly(GUIEditor.memo[1], true) end )
  5. Any one?
  6. I'm working on a trucker script, but I cannot get the blip for the trucker job location to appear on the main map. JobBlip = createBlip (2776.9, -2423.9, 12.7, 42) setBlipVisibleDistance(JobBlip, 1000)
  7. --BoD--
  8. I can give you one
  9. I havent tested it yet huge fight at car shop....
  10. hmmm
  11. I created a script but it does nothing and nothing apears in Debugscript carshop = createColRectangle ( -2001.0808105469, 218.60647583008, 114, 98 ) addEventHandler( "onColShapeHit", carshop, function(hitPlayer,thePlayer) if getElementType(hitPlayer)=="player" then triggerClientEvent(thePlayer, "zoneEnter", thePlayer) toggleControl ( thePlayer, "fire", false ) toggleControl ( thePlayer, "next_weapon", false ) toggleControl ( thePlayer, "previous_weapon", false ) setPedWeaponSlot ( thePlayer, 0 ) toggleControl ( thePlayer, "aim_weapon", false ) toggleControl ( thePlayer, "vehicle_fire", false ) toggleControl ( thePlayer, "vehicle_secondary_fire", false ) end end) addEventHandler( "onColShapeLeave", carshop,function(hitPlayer,thePlayer) if getElementType(hitPlayer)=="player"then triggerClientEvent(thePlayer, "zoneExit", thePlayer) toggleControl ( thePlayer, "fire", true ) toggleControl ( thePlayer, "next_weapon", true ) toggleControl ( thePlayer, "previous_weapon", true ) toggleControl ( thePlayer, "aim_weapon", true ) toggleControl ( thePlayer, "vehicle_fire", true ) toggleControl ( thePlayer, "vehicle_secondary_fire", true ) addCommandHandler( "devmode", function () setDevelopmentMode ( true ) end ) end end)
  12. How would I make it so in certain zones you can shoot, Ive been working with a car shop resource where you spawn the cars and people can get in them and it will ask if there person wants to buy them but every time I leave I come back and some one either blew up all the cars or shot up all the cars
  13. Wasn't anger
  14. hmmmmm Anub stop being a donkey 2nd I Vote N/A --- N/A = not Decided
  15. I hate free roam so I donno
  16. I got nothin
  17. 2 words Modded Cars
  18. Ive been going around gta sa and finding stuff that can be made better thru txd editing, though I went to work on something and all but 2 txd files loaded function replaceModel() txd = engineLoadTXD("buildings/vending.txd", 1775 ) engineImportTXD(txd, 1775) txd = engineLoadTXD("buildings/jump.txd", 1633 ) -Not loading engineImportTXD(txd, 1633) txd = engineLoadTXD("buildings/billboards.txd", 9188 ) engineImportTXD(txd, 9188) txd = engineLoadTXD("buildings/junkyard.txd", 18251 ) engineImportTXD(txd, 18251) txd = engineLoadTXD("buildings/motel.txd", 11012 ) -Not loading engineImportTXD(txd, 11012) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) degugscript:
  19. What you mean ''hard things'' creating a hud is 20 minutes working , a scripter with 10 days experience can create a hud.
  20. How would I removed objects that I cant select, ive been working on alot of stuff but I cannot remove some fences
  21. Ah I already found it thx any ways
  22. hmmmm ik this but how do I make it play when I press on gas and how do I remove old engine sound
  23. How do I remove all houses, where is the SQL file stored?
  24. How Would I change an Engines Sound Example Tampa, I want the sound from hustler on it but im not sure how duh heck I'd do that
  25. How do I use this? I go to the web page click on Map and Nothin....
×
×
  • Create New...