[HELP] I need assistance with deathsystem
#5

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)
    {
Yup
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)