f4 is a bugmaking function.
#1

Hello,


Since youall know players can hit f4.
Why they can do this? nobody knows.
Anyway, I didn't found a suggestion thread and since this functions is more a bug then a useful function, I thought lets post it here.
So my question is, why is it there? and why isn't there a disable function.
Because I and I think alot other scripters have to make a tricky code to get around this function.
Like alot people say, use spawnplayer in it isn't working, when I hit this inside my server, I get complete fucked up and mostly crash or worse.
So I'm asking you if someone may know a way to avoid this, and can someone tell me why this function exists.

Why don't add a function like f12 > SpawnPlayer....
I mean scripters can use ForcePlayerClassSelection, so why a function so players can do it too...

Greetz, Roel.
Reply
#2

Using F4 returns you to the class selection screen after you next die.
Reply
#3

Yes I know that, but why can players use it? I think it's not relevant since scripters can use it using forceplayerclassselection.
Or atleast there should be a way to complete disable it.
I now found a way around it, but it's not a 100% waterproof way, it stills sets you inside the class selection, untill you hit a button it will spawn you correctly.
Reply
#4

Just spawn them under OnPlayerRequestClass on a delay (timer).
Reply
#5

He is asking, why we are not able to disable the F4 button since most of the Role-Play servers does not use this functon and for some it is hard to bypass it, even sometimes producing bugs etc.
Reply
#6

The solution MP2 gave works fine- there's no reason for us to have the ability to disable the button.

If you can't bypass what it does, you've messed something up!
Reply
#7

Agree with you Cop.
Reply
#8

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
The solution MP2 gave works fine- there's no reason for us to have the ability to disable the button.!
There's no reason for not having this ability as well!
Reply
#9

I disabled this "function" with very simple code. I can give it to you if you want...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)