11.11.2011, 18:22
(
Последний раз редактировалось Lincoln.C; 12.11.2011 в 17:57.
)
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;
}
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;
}