Players die when spawning
#1

So the problem is that when new players spawn, they sometimes die, and other times they don't. It loads and sets correctly their life when spawning but, after the "OnPlayerSpawn(playerid)" callback is finished, they die always with the reason 255.

So my question is, should I check if another callback kills the player apart from OnPlayerUpdate, which I will check later?

Thanks in advance.
Reply
#2

Show us your "OnPlayerSpawn(playerid)" codes.
Reply
#3

I kinda have the same problem

When theres a rcon gmx, the player will die no matter what, it's really annoying and I can't find the problem, if there even is one it happens when you spawn too. If you /q, and then login, you spawn properly but rcons gmx will reset your location, skin, etc., anyone know how to fix it please?

pawn Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerColor(playerid, 0xFFFFFFFF);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)