17.08.2011, 19:02
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
new coche = GetPlayerVehicleID(playerid);
if(coche == 425 || coche == 432) return 1;
if(GetPlayerState(coche) == PLAYER_STATE_DRIVER)
{
new nVitima[MAX_PLAYER_NAME];
new nAcusado[MAX_PLAYER_NAME];
new string[128];
GetPlayerName(killerid, nAcusado, sizeof(nAcusado));
GetPlayerName(playerid, nVitima, sizeof(nVitima));
format(string, sizeof(string), "[Sistema_Linux] el Jugador %s [ID: %d] -By %s y del Servidor.", nAcusado, killerid, nVitima);
SendClientMessageToAll(VermelhoClaro, string);
format(string, sizeof(string), "er Drive-By %s.", nVitima);
SendClientMessage(killerid, Branco, string);
Kick(killerid);
return 1;
}
return 1;
}