Spawn Bug
#1

Hey,
Im editting a GM but there's a bug with spawning.
If you click the "Spawn" button to fast, You will keep dying inside the hospital over and over.

So I need to remove the "Spawn" button and after logging in you will spawn after 5 seconds or
I got to fix the bug... I got to do atleast one of them...

About the bug I don't know where to search. So if you could give me some directions/hints or a fix for it. Would be great.

About the button.. I searched ****** for it. And found mostly Foreign languages or Very outdated topics that wern't helpfull.

OnPlayerRequestClass
http://pastebin.com/CjhacJdy

OnPlayerSpawn
http://pastebin.com/jYBGCygR
Reply
#2

You can stop(skip) a class selection by TogglePlayerSpectating at OnPlayerConnect then check if the player is registered or not do all the dialog stuff,etc then when you are done TogglePlay... DISABLE it and the class selection will come or if you don't want the class selection at all ,use SetPlayerSpawnInformation.It will spawn with the data you provide.

There is no way you can remove that Spawn Button out of CS Screen, you can either skip the CS or use the CS no modify.
Reply
#3

I dont think that will solve it, If it toggles of after the dialogs they still can click the Spawn button fast.
Reply
#4

Bump - Someone else?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)