goodiewarrior Posted March 10, 2016 Posted March 10, 2016 I haven't played MTA since a time ago and I just started a local server to test a DM map. When I reached the Hunter, the map didn't finish. I used the "race" resource. What must I use?
goodiewarrior Posted March 10, 2016 Author Posted March 10, 2016 modes/destructionderby.lua Isn't that DD, the mode where you kill others or crash them to the water?
goodiewarrior Posted March 11, 2016 Author Posted March 11, 2016 Anything else? I didn't understand ._.
Overkillz Posted March 11, 2016 Posted March 11, 2016 try to search getActivePlayerCount() == 1 and change it for getActivePlayerCount() == 0 it should be near of RaceMode.endMap()
pro-mos Posted March 12, 2016 Posted March 12, 2016 i guess that race toptimes doesn't work with modern DM maps that has no checkpoints (markers).
goodiewarrior Posted March 12, 2016 Author Posted March 12, 2016 try to search getActivePlayerCount() == 1 and change it for getActivePlayerCount() == 0 it should be near of RaceMode.endMap() that wll do nothing ._. i guess that race toptimes doesn't work with modern DM maps that has no checkpoints (markers). then what must I do?
pro-mos Posted March 12, 2016 Posted March 12, 2016 then what must I do? download another toptimes script ..
goodiewarrior Posted March 13, 2016 Author Posted March 13, 2016 then what must I do? download another toptimes script .. Isn't it easier if I edit the race resource, and add some lines saying that if you get a Hunter, the map finishes and you win ????
ALw7sH Posted March 14, 2016 Posted March 14, 2016 Change "if getActivePlayerCount() <= 1 then" to "if getActivePlayerCount() < 1 then" in destructionderby.lua line 36 and 49 if it didn't work then you might be playing map with respawn
goodiewarrior Posted March 16, 2016 Author Posted March 16, 2016 Change "if getActivePlayerCount() <= 1 then" to "if getActivePlayerCount() < 1 then" in destructionderby.lua line 36 and 49if it didn't work then you might be playing map with respawn I mean what can that do? Wouldn't it be easier to just do this: onPickupRacePickup Hunter, then you make finish map. !!!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now