17.02.2012, 07:20
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid, x, y, z);
new interior = GetPlayerInterior(playerid);
new world = GetPlayerVirtualWorld(playerid);
dx[playerid] = x;
dy[playerid] = y;
dz[playerid] = z;
dint[playerid] = interior;
dworld[playerid] = world;
Died[playerid] = 1;
PlayerInfo[killerid][pKills] += 1;
if(WantedPoints[playerid] > 0)
{