All pastes #156549 Raw Edit

Something

public cpp v1 · immutable
#156549 ·published 2006-08-31 20:53 UTC
rendered paste body
public OnPlayerDeath(playerid,killerid,reason){    new string[256];    SetPlayerWorldBounds(playerid,9999.999,-9999.999,9999.999,-9999.999);    SendDeathMessage(killerid,playerid,reason);    if(killerid != INVALID_PLAYER_ID)    {        SetPlayerScore(killerid,GetPlayerScore(killerid)+1);        format(string, sizeof(string), "%s killed %s with weapon id %d", PlayerName(killerid), PlayerName(playerid), reason);        SendClientMessageToAll(0xAA3333AA,string);    }    else    {        format(string, sizeof(string), "%s has died with reason %d", PlayerName(playerid), reason);        SendClientMessageToAll(0xAA3333AA,string);    }    return 1;}public PlayerName(playerid){    new pname[MAX_PLAYER_NAME];    GetPlayerName(playerid, pname, sizeof(pname));    return pname;}