Jump to content

Captain Cody

Members
  • Posts

    2,753
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by Captain Cody

  1. how to drive with this one ? i won't be able to see the road Learn the road, be the road.
  2. Do you have a script messing with the traffic lights?
  3. I did do radar in my latest version. Here's just a quick picture that I have lying around that shows it.
  4. It is possible, if there was some way to edit the cols from in game. I have seen someone who was some how able to edit DFFs in MTA, so if that's possible, cols are most likely possible to.
  5. This was already suggested as far as I know. But it'll be a while due to how complicated it is. ((This is just what I know ))
  6. This hack detection stuff really needs to get fixed. It keeps banning people for no reason.
  7. You're insane then, unless you have a wanted level that should not appear, I checked every bit of this code for what would be causing it, nothing.
  8. Captain Cody

    Commands

    Well what I was saying is, there is a way to do the command handler with a table, I just forgot the right format
  9. Captain Cody

    Commands

    That's odd, I know for a fact I've seen it used before, and it for sure worked. Maybe I just have wrong format. addCommandHandler("testa",testfunction) addCommandHandler("testb",testfunction2) addCommandHandler("testc",testfunction) addCommandHandler("testc",testfunction2) but try that I guess.
  10. Captain Cody

    Commands

    @Shaio you don't need to put CMD in the function at all @Walid Saw it in a script a while back that I was fixing, it gave no errors and worked.
  11. Captain Cody

    Commands

    addCommandHandler("testa",testfunction) addCommandHandler("testb",testfunction2) addCommandHandler("testc",{testfunction,testfunction2})
  12. Well in that case, try just debugscript 1
  13. Any error is fixable, what's the issue?
  14. Oh yeh, I forgot about that at the time. Here's an example following @Walids function preventDamage() for i=0,6 do setVehiclePanelState(source,v,0) end addEventHandler("onVehicleDamage", getRootElement(), preventDamage)
  15. Try this tablea = {1,2,3,4,5,6} function preventDamage() for i,v in pairs(tablea) do setVehiclePanelState(source,v,0) end addEventHandler("onVehicleDamage", getRootElement(), preventDamage) When the vehicle is damaged, it automaticly fixes all panels. But vehicle health can still drain
  16. You can play videos of the cutscenes
  17. Try this. function getElementsWithinColShapes() local count = 0 local vehicles = getElementsByType ("vehicle") for i, veh in pairs (vehicles) do if (isElementWithinColShape(veh, col)) then count = count + 1 end end return count end Not much of a difference, but it resets count each time which could be your issue.
  18. Well here's what I was thinking. Keep a table of the ped positions and stuff (Update them every so often), make the peds only move for the clients within certain range, and as soon as another client comes within said range, update the peds position and rotation. So you only update their position and what not for the clients in range preventing lots of CPU usage and what not
  19. It's because some of the scripts use the health bar, they cannot continue without it.
  20. MTA does not change COLS while scaling, but as far as I know it is a planned feature.
  21. New link /\ /\ Could a moderator delete this thread?
×
×
  • Create New...