LVPlayground / playground

The Las Venturas Playground gamemode
Other
33 stars 23 forks source link

Improve freeze and avoid abuse #779

Closed Specifer closed 4 years ago

Specifer commented 4 years ago

Solving and Implementing for Issue #777.

Specifer commented 4 years ago

Reverted as per Striker and Beaner's view

RussellLVP commented 4 years ago

This does not compile, and freezes players the moment they execute any command until they're fixed - which then freezes the person fixing them.

Specifer commented 4 years ago

I need a hint on solving this. Would making a variable of this and using if condition work. Btw why does this freeze player on any command, this must be brought to notice only when the player is frozen right. why is this working another way around?

RussellLVP commented 4 years ago

If I'm honest, there's no good way of fixing this right now because we don't track whether a player is frozen. The commands would have to move to JavaScript wholesale.

Specifer commented 4 years ago

So perhaps closing this PR for now is best?

RussellLVP commented 4 years ago

Yes, I think we should.