27.06.2015, 19:43
PHP код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(IsPlayerInAnyVehicle(killerid))
{
new s = GetPlayerVehicleID(killerid);
new v = GetVehicleModel(s);
if(v == 520 || v == 519 || v == 425 || v == 432)
return 1;
new string[100];
new acusado[MAX_PLAYER_NAME];
new vitima[MAX_PLAYER_NAME];
GetPlayerName(killerid, acusado, MAX_PLAYER_NAME);
GetPlayerName(playerid, vitima, MAX_PLAYER_NAME);
format(string, sizeof(string), "[ADB] %s Fez Drive-by em %s e serб Kikado Pelo ADM",acusado,vitima);
SendClientMessageToAll(0xCECE00AA, string);
}
return 1;
}