05.07.2015, 00:36
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart) {
if(weaponid == 38 && IsPlayerInAnyVehicle(issuerid) && GetVehicleModel(GetPlayerVehicleID(issuerid)) == VEHICLE_SEASPARROW) {
// player has taken damage from seasparrow
}
return 1;
}