Players crashing when spawning
#1

Hi, there's some problem I've been experiencing recently, when a player spawns, not always but sometimes crashes.
I'm not using the default OnPlayerRequestClass, I'm using dialogs inside OnPlayerRequestClass and then I set the team there.
Once a player spawns I check whether some player belongs to team A or team B and then I set the position.

Any ideas of why sometimes players crash when spawning?
Reply
#2

Several things.

1: We're not psychic show us code.
2: Run the Crash Detect Plugin, and Native Checker Plugin. Then post your server log here.
Reply
#3

EDIT: I found a glitch, but I fixed the problem. Thanks for the help.
Reply
#4

Okay, no problem.

From your code, I can't see a problem with it; unless your problem is nested within your timer.

From experience, I know a lot of people who use GetPlayerTeam have this issue... I don't know if it's a bug or a typo in their code.

If I was you I would start commenting out the code in segments, until the player no longer crashes. This will help you narrow down where the problem occurs.

Sorry I can't help further.
Reply
#5

No problem friend, I already fixed that. Thanks for your help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)