After killing a player - server desynced??
#1

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??
Reply
#2

Maby you could use:

pawn Код:
OnPlayerSpawn(playerid)
{
    SetPlayerPos(playerid, spawncoordenates);
    SetPlayerInterior(playerid, 0);
    SetPlayerVirtualWorld(playerid, 0);
    return 1;
}
Reply
#3

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.
Reply
#4

hum...... What fiterscipts you have?
This look like a command in some filterscript doing it!

Show me your OnPlayerDeath and OnPlayerSpawn
Reply
#5

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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)