Onplayerdeath,check players vehicle and reason.
#1

I want it to ban the player if they are using the minigun in a hunter. But it always bans the player using a minigun,doesn't matter in a hunter or not
Reply
#2

Change this line:
pawn Код:
if(GetVehicleModel(!GetPlayerVehicleID( killerid )) == 425) return 0;
To:
pawn Код:
if(GetVehicleModel(GetPlayerVehicleID(killerid)) != 425) return 0;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)