07.08.2012, 10:04
Get yourself some more debug:
pawn Код:
case 50: {
print("Kill cause 50 called");
if (GetPlayerState(killerid) == PLAYER_STATE_DRIVER)
{
new vid = GetVehicleModel(GetPlayerVehicleID(killerid));
printf("Killer is a driver of car model %d", vid);
switch (vid)
{
case 417, 425, 447, 465, 469, 487, 488, 497, 501, 548, 563: {
print("Killer got to tha choppa");
reasonMsg = "Helicopter Blades";
}
default: {
print("Killer is in a car, boat or some other non-choppa stuff");
reasonMsg = "Vehicle Collision";
}
}
}
else
{
print("Killer is not a driver");
reasonMsg = "Vehicle Collision";
}
}