problem with death
#1

today i found out a bug/glitch i dunno on my server, nobody can die for some reason when u typ /kill just the deathmsg shows up and the textdraws dissapear but u dont respawn for some reason

here is my onplayerdeath code i really need help, i tried evrything
Код:
public OnPlayerDeath(playerid, killerid, reason)
{


	new pName[MAX_PLAYER_NAME];
  new string [128];
  GetPlayerName(playerid, pName, sizeof(pName));

  GetPlayerName(killerid, pName, sizeof(pName));
  format(string, sizeof(string), "~y~see you in heaven~n~~r~", pName);
  GameTextForPlayer(playerid, string, 4000, 0);

	return 1;
}
Reply
#2

I've never heard of it. Maybe it's the /kill command.
Reply
#3

/kill command:

Код:
	if (strcmp(cmdtext, "/kill", true)==0)
    {
		SetPlayerHealth(playerid,0);
    return 1;
    }
that cant be the problem normally 0_0
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)