After killing a player - server desynced?? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: After killing a player - server desynced?? (
/showthread.php?tid=242885)
After killing a player - server desynced? -
GamingTurf - 20.03.2011
Hello, since today i have had a major problem
After killing a person, they fall to the floor and act dead - You cannot see them for the rest of the game (until you reconnect).
Although the players can still talk.
Using MySQL for Saving/Loading - ServerFFS.
My server has 2 slots (As i'm still developing).
public OnPlayerUpdate(playerid)
{
return 1;
}
It's not that ^^
What could it be??
Re: After killing a player - server desynced?? -
ricardo178 - 20.03.2011
Maby you could use:
pawn Код:
OnPlayerSpawn(playerid)
{
SetPlayerPos(playerid, spawncoordenates);
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
return 1;
}
Re: After killing a player - server desynced?? -
GamingTurf - 20.03.2011
Quote:
Originally Posted by ricardo178
Maby you could use:
pawn Код:
OnPlayerSpawn(playerid) { SetPlayerPos(playerid, spawncoordenates); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); return 1; }
|
The weird thing is - the commands also stop working.
Re: After killing a player - server desynced?? -
ricardo178 - 20.03.2011
hum...... What fiterscipts you have?
This look like a command in some filterscript doing it!
Show me your OnPlayerDeath and OnPlayerSpawn
Re: After killing a player - server desynced?? -
Mauzen - 20.03.2011
The server hangs then. This is most probably a script problem. It might be stuck i a very long loop or waiting for something.
Check your OnPlayerDeath callback for code that might be slow.