05.12.2010, 19:14
pawn Код:
#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
#endif
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print("ANTI-DB.");
print("--------------------------------------\n");
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
if(IsPlayerInAnyVehicle(killerid)) {
new string[100],acusado[24],vitima[24];
GetPlayerName(killerid,acusado,24);
GetPlayerName(playerid,vitima,24);
format(string, sizeof(string),"| ANTI-DB | %s Foi Kickado automaticamente. Motivo: Fez Drive-By em %s .",acusado,vitima);
SendClientMessageToAll(0x0080FFAA, string);
PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
Kick(killerid);
}
return 1;
}