Jump to content
Mr. Green Gaming

Random vote [DD]


Flipper

Recommended Posts

As far as I know Mad is right. Binslayer changed the script so players with kills couldn't get send to heaven / sleep with the fish. It could be true the speed up thing isn't among the exceptions.

 

The vote script should get disabled when there only players with kills remaining.

Link to comment

It's supposed to only work for people with 0 kills and if more than 2 players are alive.

 

Script: https://github.com/JarnoVgr/Mr.Green-MTA-Resources/blob/master/resources/%5Brace%5D/race_random/random_s.lua#L99

Might be bugged like you said, it's never a good idea to remove values from a table while in a for loop

Changed that: https://github.com/JarnoVgr/Mr.Green-MTA-Resources/commit/8121e90b7095b0d55f65795b742d91f85f0382d8

Although it might also be that the vote is just too slow and in between the vote, the target dies or gets a kill.

Link to comment

 

It's supposed to only work for people with 0 kills and if more than 2 players are alive.

 

Script: https://github.com/JarnoVgr/Mr.Green-MTA-Resources/blob/master/resources/%5Brace%5D/race_random/random_s.lua#L99

Might be bugged like you said, it's never a good idea to remove values from a table while in a for loop

Changed that: https://github.com/JarnoVgr/Mr.Green-MTA-Resources/commit/8121e90b7095b0d55f65795b742d91f85f0382d8

Although it might also be that the vote is just too slow and in between the vote, the target dies or gets a kill.

 

maybe, but you can see on that screenshot which i posted, that i had 3 kills

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...