Player "dies" but do not respawn.
#6

Its just the Gangfight function, Reset some Values and Weapons
I still dont know the reason for this bug.
Everything works fine, no Errors or warnings at the compiler.

Thanks for tanking time

public OnPlayerDeath(playerid, killerid, reason)
{
new FloatX, FloatY, FloatZ;
ResetPlayerGuns(playerid);
GetPlayerPos(playerid, pX, pY, pZ);
DrugAmount[playerid] = 0;
KillTimer(DrugTimer[playerid]);
p[playerid][Deaths]++;
if(killerid != INVALID_PLAYER_ID) { p[killerid][Kills]++; }
CopDuty[playerid] = 0;
return 1;
}
Reply


Messages In This Thread
Player "dies" but do not respawn. - by Lincoln.C - 09.11.2011, 20:19
Re: Player "dies" but do not respawn. - by grand.Theft.Otto - 09.11.2011, 20:21
AW: Player "dies" but do not respawn. - by Lincoln.C - 09.11.2011, 20:28
Re: Player "dies" but do not respawn. - by grand.Theft.Otto - 09.11.2011, 21:55
Re: Player "dies" but do not respawn. - by [MG]Dimi - 09.11.2011, 22:00
AW: Player "dies" but do not respawn. - by Lincoln.C - 11.11.2011, 18:22

Forum Jump:


Users browsing this thread: 2 Guest(s)