One function crashes server
#1

Hi.
When I'm in skin selector my server crashes.
It's problem with TogglePlayerSpectating in OnPlayerRequestClass, but why?
Код:
public OnPlayerRequestClass(playerid,classid)
{
 	TogglePlayerSpectating(playerid, true);
	SetPlayerTime(playerid,22,0);
	return 1;
}
Reply
#2

Class selection have special camera mode. I think that's why it don't let you spectate.
Reply
#3

I forgot... in windows server all works good.
I have actually all includes and plugins.
Reply
#4

Use crashdetect plugin to see where is the crash coming from.
Reply
#5

./samp03svr: symbol lookup error: plugins/AntiCheat.so: undefined symbol: sampgdk_TogglePlayerSpectating
How to fix it? Anyone can send me good sampgdk?
Reply
#6

/rcon and check where is the problem in your server
Reply
#7

Problem is with sampgdk.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)