goodiewarrior Posted March 10, 2016 Share 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? Link to comment
Overkillz Posted March 10, 2016 Share Posted March 10, 2016 modes/destructionderby.lua Link to comment
goodiewarrior Posted March 10, 2016 Author Share Posted March 10, 2016 modes/destructionderby.lua Isn't that DD, the mode where you kill others or crash them to the water? Link to comment
goodiewarrior Posted March 11, 2016 Author Share Posted March 11, 2016 Anything else? I didn't understand ._. Link to comment
Overkillz Posted March 11, 2016 Share Posted March 11, 2016 try to search getActivePlayerCount() == 1 and change it for getActivePlayerCount() == 0 it should be near of RaceMode.endMap() Link to comment
pro-mos Posted March 12, 2016 Share Posted March 12, 2016 i guess that race toptimes doesn't work with modern DM maps that has no checkpoints (markers). Link to comment
goodiewarrior Posted March 12, 2016 Author Share 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? Link to comment
pro-mos Posted March 12, 2016 Share Posted March 12, 2016 then what must I do? download another toptimes script .. Link to comment
goodiewarrior Posted March 13, 2016 Author Share 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 ???? Link to comment
ALw7sH Posted March 14, 2016 Share 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 Link to comment
goodiewarrior Posted March 16, 2016 Author Share 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. !!! Link to comment
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