Anti DB - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: Anti DB (
/showthread.php?tid=149824)
Anti DB -
[1corp]vlad - 23.05.2010
Does not kick in a military technology and on a place of the passenger
pawn Код:
#include <a_samp>
public OnPlayerDeath(playerid, killerid, reason)
{
if(IsPlayerInAnyVehicle(killerid))
{
new vehicleid = GetPlayerVehicleID(killerid);
if(GetVehicleModel(vehicleid) == 432 || GetVehicleModel(vehicleid) == 425 || GetVehicleModel(vehicleid) == 447 || GetVehicleModel(vehicleid) == 520 || GetVehicleModel(vehicleid) == 464 || GetVehicleModel(vehicleid) == 564)
{
}
else if((GetVehicleModel(vehicleid) != 432 || GetVehicleModel(vehicleid) != 425 || GetVehicleModel(vehicleid) != 447 || GetVehicleModel(vehicleid) != 520 || GetVehicleModel(vehicleid) != 464 || GetVehicleModel(vehicleid) != 564) && GetPlayerState(killerid) == PLAYER_STATE_DRIVER) //464 564
{
SendClientMessage(killerid,"You are kicked for Drive By");
Kick(killerid);
}
}
return 1;
}
Re: Anti DB -
Lewwy - 23.05.2010
http://forum.sa-mp.com/index.php?topic=12197.0
Re: Anti DB -
xenowort - 23.05.2010
use [pawn ] and [/pawn]
without the space
Re: Anti DB -
[1corp]vlad - 23.05.2010
Seif_ It is checked up, works =) I would not spread if did not work
Re: Anti DB -
luigifan9 - 23.05.2010
This kicks a player if he even enters a vehicle and your sendclientmessage is screwed up ,wtf man
Re: Anti DB -
MastahServers - 23.05.2010
I'd like to request a
topic lock due to the subject ain't right, and the filterscript isn't made correctly, which should be.
No offence, but this is just not an anti-DriveBy
Re: Anti DB -
zSuYaNw - 24.05.2010
nice
Re: Anti DB -
Saurik - 24.05.2010
this wont work....